知識點-多線程threading(Thread,join,qunue和lock功能)

1.創建多線程Thread import threading def thread_job(): print("this is an added thread,number is %s"%threading.current_thread()) def main(): add_thread=threading.Thread(target=thread_job) #添加創建線程,並
相關文章
相關標籤/搜索