Lines Matching refs:threading
29 # import threading after _multiprocessing to raise a more relevant error
32 import threading
765 self.assertRaises((ValueError, threading.ThreadError), lock.release)
866 p = threading.Thread(target=self.f, args=(cond, sleeping, woken))
912 t = threading.Thread(target=self.f,
935 t = threading.Thread(target=self.f, args=(cond, sleeping, woken))
1085 # work with threading._Event objects. is_set == isSet
1088 # Removed, threading.Event.wait() will return the value of the __flag
1118 # Many of the tests for threading.Barrier use a list as an atomic
1297 except threading.BrokenBarrierError:
1326 except threading.BrokenBarrierError:
1354 except threading.BrokenBarrierError:
1390 except threading.BrokenBarrierError:
1409 except threading.BrokenBarrierError:
4007 dangling[1] = threading._dangling.copy()
4035 tmp = set(threading._dangling) - set(dangling[1])