summaryrefslogtreecommitdiffstats
path: root/Lib/dos-8x3/threadst.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/dos-8x3/threadst.py')
-rw-r--r--Lib/dos-8x3/threadst.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/Lib/dos-8x3/threadst.py b/Lib/dos-8x3/threadst.py
new file mode 100644
index 0000000..c2b08f2
--- /dev/null
+++ b/Lib/dos-8x3/threadst.py
@@ -0,0 +1,9 @@
+import thread
+# Start empty thread to initialise 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 initialises global lock
+thread.start_new_thread(lambda : 1, ())
+
+import test.pystone
+test.pystone.main()
+