python多線程中join的用法

python中多線程join是用來阻塞主線程的。 python 看下面的例子:多線程 def fast(): print "in fast" sleep(10) print "done in fast" def slow(): print "in slow" sleep(15) print "done in slow" 一個運行快,一個運行慢 d
相關文章
相關標籤/搜索