py & wxpy 线程启动问题
想实现 这样 一个 过程:
启动线程A ,等待此线程 完了以后 ,然后再 启动线程B 和 线程C 。 (over)
--test1----------------------------------
def main: start threadA #启动线程threadA while threadA is running: time.sleep(2) start threadB #启动线程threadB start threadC #启动线程threadC
threadA: do sometheing #执行线程threadA的功能 start threadB #启动线程threadB start threadC #启动线程threadCdef main: start threadA #启动线程threadA
def main: start threadA #启动线程threadA threadA.join() start threadB #启动线程threadB start threadC #启动线程threadC