Lines Matching refs:_thread
13 import _thread
207 tid = _thread.start_new_thread(f, ())
219 except _thread.error:
231 except _thread.error:
248 tid = _thread.start_new_thread(f, (mutex,))
370 import ctypes, sys, time, _thread
373 ready = _thread.allocate_lock()
390 _thread.start_new_thread(waitingThread, ())
569 import _thread, threading, os, time
578 _thread.start_new_thread(background_thread, (evt,))
742 started = _thread.allocate_lock()
743 finish = _thread.allocate_lock()
777 started = _thread.allocate_lock()
778 finish = _thread.allocate_lock()
964 import _thread
967 event = _thread.allocate_lock()
977 _thread.start_new_thread(import_threading, ())
1625 support.check__all__(self, threading, ('threading', '_thread'),
1638 _thread.interrupt_main()
1645 _thread.interrupt_main(signum)
1648 _thread.interrupt_main(signum)
1657 _thread.interrupt_main()
1668 _thread.interrupt_main()
1679 self.assertRaises(ValueError, _thread.interrupt_main, -1)
1680 self.assertRaises(ValueError, _thread.interrupt_main, signal.NSIG)
1681 self.assertRaises(ValueError, _thread.interrupt_main, 1000000)