summaryrefslogtreecommitdiffstats
path: root/Lib/dos-8x3/threadst.py
blob: d9c27886b03066b5323d030126edfdf053e078b1 (plain)
1
2
3
4
5
6
7
8
9
import thread
# Start empty thread to initialize thread mechanics (and global lock!)
# 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
thread.start_new_thread(lambda : 1, ())

import test.pystone
test.pystone.main()