Lines Matching refs:thread
448 thread = threading.Thread(target=os.read, args=(r, 100))
449 thread.start()
450 self.addCleanup(thread.join)
4343 # daemon thread and the main thread both write to a file.
4361 thread = threading.Thread(target=run)
4362 thread.daemon = True
4363 thread.start()
4449 # create the thread with SIGALRM signal blocked
4458 # other thread has read one byte, the low-level write will
4502 # Will be called reentrantly from the same thread
4581 # We need a separate thread to read from the pipe and allow the
4582 # write() to finish. This thread is started after the SIGALRM is