Lines Matching refs:_thread
13 import _thread
179 tid = _thread.start_new_thread(f, ())
191 except _thread.error:
203 except _thread.error:
220 tid = _thread.start_new_thread(f, (mutex,))
714 started = _thread.allocate_lock()
715 finish = _thread.allocate_lock()
749 started = _thread.allocate_lock()
750 finish = _thread.allocate_lock()
1608 _thread.interrupt_main()
1615 _thread.interrupt_main(signum)
1618 _thread.interrupt_main(signum)
1627 _thread.interrupt_main()
1638 _thread.interrupt_main()
1649 self.assertRaises(ValueError, _thread.interrupt_main, -1)
1650 self.assertRaises(ValueError, _thread.interrupt_main, signal.NSIG)
1651 self.assertRaises(ValueError, _thread.interrupt_main, 1000000)