cpython/Lib/dos-8x3/threadst.py

10 lines
315 B
Python
Raw Normal View History

2000-05-08 14:31:04 -03:00
import thread
# Start empty thread to initialize thread mechanics (and global lock!)
2000-05-08 14:31:04 -03:00
# This thread will finish immediately thus won't make much influence on
# test results by itself, only by that fact that it initializes global lock
2000-05-08 14:31:04 -03:00
thread.start_new_thread(lambda : 1, ())
import test.pystone
test.pystone.main()