Lines Matching refs:threading
50 import threading
52 # require threading
60 threading = None
615 @unittest.skipUnless(threading, 'Threading required for this test.')
636 remover = threading.Thread(target=remove_loop, args=(fn, del_count))
695 if threading:
741 self._thread = t = threading.Thread(target=self.serve_forever,
795 self.ready = threading.Event()
801 self._thread = t = threading.Thread(target=self.serve_forever,
956 @unittest.skipUnless(threading, 'Threading required for this test.')
970 self.handled = threading.Event()
1438 @unittest.skipUnless(threading, 'Threading required for this test.')
1443 if threading:
1471 self.handled = threading.Semaphore(0)
1538 @unittest.skipUnless(threading, 'Threading required for this test.')
1543 if threading and hasattr(socket, "AF_UNIX"):
1555 @unittest.skipUnless(threading, 'Threading required for this test.')
1560 if threading:
1588 self.handled = threading.Event()
1622 @unittest.skipUnless(threading, 'Threading required for this test.')
1627 if threading and hasattr(socket, "AF_UNIX"):
1639 @unittest.skipUnless(threading, 'Threading required for this test.')
1644 if threading:
1672 self.handled = threading.Event()
1709 @unittest.skipUnless(threading, 'Threading required for this test.')
1714 if threading and hasattr(socket, "AF_UNIX"):
1726 @unittest.skipUnless(threading, 'Threading required for this test.')
1734 self.handled = threading.Event()
2832 @unittest.skipUnless(threading, 'listen() needs threading to work')
2861 @unittest.skipUnless(threading, 'Threading required for this test.')
2881 @unittest.skipUnless(threading, 'Threading required for this test.')
2896 @unittest.skipUnless(threading, 'Threading required for this test.')
3627 if threading:
4355 'root', 'threading'}