Guido van Rossum | aad6761 | 2000-05-08 17:31:04 +0000 | [diff] [blame] | 1 | import thread |
Thomas Wouters | 7e47402 | 2000-07-16 12:04:32 +0000 | [diff] [blame] | 2 | # Start empty thread to initialize thread mechanics (and global lock!) |
Guido van Rossum | aad6761 | 2000-05-08 17:31:04 +0000 | [diff] [blame] | 3 | # This thread will finish immediately thus won't make much influence on |
Thomas Wouters | 7e47402 | 2000-07-16 12:04:32 +0000 | [diff] [blame] | 4 | # test results by itself, only by that fact that it initializes global lock |
Guido van Rossum | aad6761 | 2000-05-08 17:31:04 +0000 | [diff] [blame] | 5 | thread.start_new_thread(lambda : 1, ()) |
| 6 | |
| 7 | import test.pystone |
| 8 | test.pystone.main() |
| 9 | |