5 threads, each sleeps 3 second in parallel import thread, time def counter(myId, count): for i in range(count): time.sleep(1) print 'thread number %d ...
確定! 回上一頁