/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
lock_tests.py | 8 import threading namespace 135 # (non-threading) thread. 140 n = len(threading.enumerate()) 144 self.assertEqual(n, len(threading.enumerate())) 318 lock = threading.Lock()
|
test_asynchat.py | 8 import threading namespace 10 threading = None variable 15 if threading: 16 class echo_server(threading.Thread): 22 threading.Thread.__init__(self) 90 event = threading.Event() 99 @unittest.skipUnless(threading, 'Threading required for this test.') 110 event = threading.Event() 214 s.start_resend_event = threading.Event( [all...] |
test_contextlib.py | 9 import threading namespace 11 threading = None variable 270 @unittest.skipUnless(threading, 'Threading required for this test.') 285 lock = threading.Lock() 289 lock = threading.RLock() 293 lock = threading.Condition() 299 lock = threading.Semaphore() 309 lock = threading.BoundedSemaphore()
|
test_hashlib.py | 14 import threading namespace 16 threading = None variable 358 @unittest.skipUnless(threading, 'Threading required for this test.') 385 event = threading.Event() 387 threading.Thread(target=hash_in_chunks,
|
test_imaplib.py | 3 # threading, this test module should be split. Right now we skip 4 # them all if we don't have threading. 5 threading = support.import_module('threading') variable 123 t = threading.Thread(
|
test_socketserver.py | 20 import threading namespace 22 threading = None variable 69 @unittest.skipUnless(threading, 'Threading required for this test.') 142 t = threading.Thread( 298 t = threading.Thread(
|
test_telnetlib.py | 9 threading = test_support.import_module('threading') variable 46 self.evt = threading.Event() 50 self.thread = threading.Thread(target=server, args=(self.evt,self.sock)) 96 self.evt = threading.Event() 101 self.thread = threading.Thread(target=server, args=(self.evt,self.sock, self.dataq)) 386 self.evt = threading.Event() 391 self.thread = threading.Thread(target=server, args=(self.evt,self.sock,
|
test_urllib2_localnet.py | 12 threading = test_support.import_module('threading') variable 42 class LoopbackHttpServerThread(threading.Thread): 46 threading.Thread.__init__(self) 48 self.ready = threading.Event()
|
test_winreg.py | 7 threading = test_support.import_module("threading") variable 244 class VeryActiveThread(threading.Thread):
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
trace.py | 68 import threading namespace 76 threading.settrace(func) 81 threading.settrace(None)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
SocketServer.py | 23 - threading (each request is handled by a new thread) 52 Forking and threading versions of each type of server can be created 54 instance, a threading UDP server class is created as follows: 77 you can use a threading server, but you will probably have to use 85 to read all the data it has requested. Here a threading or forking 138 import threading namespace 140 import dummy_threading as threading namespace 210 self.__is_shut_down = threading.Event() 601 t = threading.Thread(target = self.process_request_thread,
|
trace.py | 68 import threading namespace 76 threading.settrace(func) 81 threading.settrace(None)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
run.py | 8 import threading namespace 82 sockthread = threading.Thread(target=manage_socket, 163 exclude = ("run.py", "rpc.py", "threading.py", "Queue.py", 245 print>>erf, 'Thread: %s' % threading.currentThread().getName()
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/ |
pool.py | 41 import threading namespace 161 self._worker_handler = threading.Thread( 170 self._task_handler = threading.Thread( 178 self._result_handler = threading.Thread( 320 thread = threading.current_thread() 333 thread = threading.current_thread() 372 thread = threading.current_thread() 492 if threading.current_thread() is not worker_handler: 503 if threading.current_thread() is not task_handler: 507 if threading.current_thread() is not result_handler [all...] |
queues.py | 39 import threading namespace 88 self._notempty = threading.Condition(threading.Lock()) 182 self._thread = threading.Thread(
|
util.py | 38 import threading # we want threading to install it's namespace 336 self._lock = threading.Lock() 340 class ForkAwareLocal(threading.local):
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
lock_tests.py | 8 import threading namespace 135 # (non-threading) thread. 140 n = len(threading.enumerate()) 144 self.assertEqual(n, len(threading.enumerate())) 318 lock = threading.Lock()
|
test_asynchat.py | 8 import threading namespace 10 threading = None variable 15 if threading: 16 class echo_server(threading.Thread): 22 threading.Thread.__init__(self) 90 event = threading.Event() 99 @unittest.skipUnless(threading, 'Threading required for this test.') 110 event = threading.Event() 214 s.start_resend_event = threading.Event( [all...] |
test_contextlib.py | 9 import threading namespace 11 threading = None variable 270 @unittest.skipUnless(threading, 'Threading required for this test.') 285 lock = threading.Lock() 289 lock = threading.RLock() 293 lock = threading.Condition() 299 lock = threading.Semaphore() 309 lock = threading.BoundedSemaphore()
|
test_hashlib.py | 14 import threading namespace 16 threading = None variable 358 @unittest.skipUnless(threading, 'Threading required for this test.') 385 event = threading.Event() 387 threading.Thread(target=hash_in_chunks,
|
test_imaplib.py | 3 # threading, this test module should be split. Right now we skip 4 # them all if we don't have threading. 5 threading = support.import_module('threading') variable 123 t = threading.Thread(
|
test_socketserver.py | 20 import threading namespace 22 threading = None variable 69 @unittest.skipUnless(threading, 'Threading required for this test.') 142 t = threading.Thread( 298 t = threading.Thread(
|
test_telnetlib.py | 9 threading = test_support.import_module('threading') variable 46 self.evt = threading.Event() 50 self.thread = threading.Thread(target=server, args=(self.evt,self.sock)) 96 self.evt = threading.Event() 101 self.thread = threading.Thread(target=server, args=(self.evt,self.sock, self.dataq)) 386 self.evt = threading.Event() 391 self.thread = threading.Thread(target=server, args=(self.evt,self.sock,
|
test_urllib2_localnet.py | 12 threading = test_support.import_module('threading') variable 42 class LoopbackHttpServerThread(threading.Thread): 46 threading.Thread.__init__(self) 48 self.ready = threading.Event()
|
test_winreg.py | 7 threading = test_support.import_module("threading") variable 244 class VeryActiveThread(threading.Thread):
|