mirror of
https://github.com/kennethreitz-archive/pyinstaller.git
synced 2026-06-05 23:50:17 +00:00
b98a53df92
git-svn-id: http://svn.pyinstaller.org/trunk@2 8dd32b29-ccff-0310-8a9a-9233e24343b1
17 lines
267 B
Python
17 lines
267 B
Python
import sys
|
|
import threading
|
|
|
|
def doit(nm):
|
|
print nm, 'started'
|
|
import test7x
|
|
print nm, test7x.x
|
|
|
|
t1 = threading.Thread(target=doit, args=('t1',))
|
|
t2 = threading.Thread(target=doit, args=('t2',))
|
|
t1.start()
|
|
t2.start()
|
|
doit('main')
|
|
t1.join()
|
|
t2.join()
|
|
|