/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
H A D | threaded_import_hangers.py | 10 import threading namespace 21 class Worker(threading.Thread): 23 threading.Thread.__init__(self)
|
H A D | test_threading.py | 1 # Very rudimentary test of threading module 11 threading = test.test_support.import_module('threading') variable 31 class TestThread(threading.Thread): 33 threading.Thread.__init__(self, name=name) 82 sema = threading.BoundedSemaphore(value=3) 83 mutex = threading.RLock() 109 self.assertFalse(threading.currentThread().ident is None) 111 ident.append(threading.currentThread().ident) 113 done = threading [all...] |
H A D | test_capi.py | 12 import threading namespace 15 threading = None variable 18 @unittest.skipUnless(threading, 'Threading required for this test.') 65 context.lock = threading.Lock() 66 context.event = threading.Event() 69 t = threading.Thread(target=self.pendingcalls_thread, args = (context,)) 101 @unittest.skipUnless(threading and thread, 'Threading required for this test.') 121 t = threading.Thread(target=target)
|
H A D | test_fork1.py | 12 threading = import_module('threading') variable 32 import_started = threading.Event() 43 t = threading.Thread(target=importer)
|
H A D | test_threadedtempfile.py | 22 threading = import_module('threading') variable 27 startEvent = threading.Event() 29 class TempFileGreedy(threading.Thread):
|
H A D | test_threading_local.py | 9 threading = test_support.import_module('threading') variable 32 t = threading.Thread(target=target, args=(local, weaklist)) 52 # of a threading.local derived class, the per-thread dictionary 68 t = threading.Thread(target=f, args=(i,)) 81 e1 = threading.Event() 82 e2 = threading.Event() 100 t = threading.Thread(target=f) 131 e1 = threading.Event() 132 e2 = threading [all...] |
H A D | 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()
|
H A D | 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()
|
H A D | test_smtplib.py | 15 import threading namespace 17 threading = None variable 43 @unittest.skipUnless(threading, 'Threading required for this test.') 48 self.evt = threading.Event() 53 self.thread = threading.Thread(target=server, args=servargs) 146 @unittest.skipUnless(threading, 'Threading required for this test.') 156 self.serv_evt = threading.Event() 157 self.client_evt = threading.Event() 163 self.thread = threading.Thread(target=debugging_server, args=serv_args) 265 @unittest.skipUnless(threading, 'Threadin [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
H A D | threaded_import_hangers.py | 10 import threading namespace 21 class Worker(threading.Thread): 23 threading.Thread.__init__(self)
|
H A D | test_threading.py | 1 # Very rudimentary test of threading module 11 threading = test.test_support.import_module('threading') variable 31 class TestThread(threading.Thread): 33 threading.Thread.__init__(self, name=name) 82 sema = threading.BoundedSemaphore(value=3) 83 mutex = threading.RLock() 109 self.assertFalse(threading.currentThread().ident is None) 111 ident.append(threading.currentThread().ident) 113 done = threading [all...] |
H A D | test_capi.py | 12 import threading namespace 15 threading = None variable 18 @unittest.skipUnless(threading, 'Threading required for this test.') 65 context.lock = threading.Lock() 66 context.event = threading.Event() 69 t = threading.Thread(target=self.pendingcalls_thread, args = (context,)) 101 @unittest.skipUnless(threading and thread, 'Threading required for this test.') 121 t = threading.Thread(target=target)
|
H A D | test_fork1.py | 12 threading = import_module('threading') variable 32 import_started = threading.Event() 43 t = threading.Thread(target=importer)
|
H A D | test_threadedtempfile.py | 22 threading = import_module('threading') variable 27 startEvent = threading.Event() 29 class TempFileGreedy(threading.Thread):
|
H A D | test_threading_local.py | 9 threading = test_support.import_module('threading') variable 32 t = threading.Thread(target=target, args=(local, weaklist)) 52 # of a threading.local derived class, the per-thread dictionary 68 t = threading.Thread(target=f, args=(i,)) 81 e1 = threading.Event() 82 e2 = threading.Event() 100 t = threading.Thread(target=f) 131 e1 = threading.Event() 132 e2 = threading [all...] |
H A D | 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()
|
H A D | 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()
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/dummy/ |
H A D | __init__.py | 45 import threading namespace 53 from threading import Lock, RLock, Semaphore, BoundedSemaphore 54 from threading import Event 61 class DummyProcess(threading.Thread): 64 threading.Thread.__init__(self, group, target, name, args, kwargs) 75 threading.Thread.start(self) 88 class Condition(threading._Condition): 89 notify_all = threading._Condition.notify_all.im_func 96 current_process = threading.current_thread
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/dummy/ |
H A D | __init__.py | 45 import threading namespace 53 from threading import Lock, RLock, Semaphore, BoundedSemaphore 54 from threading import Event 61 class DummyProcess(threading.Thread): 64 threading.Thread.__init__(self, group, target, name, args, kwargs) 75 threading.Thread.start(self) 88 class Condition(threading._Condition): 89 notify_all = threading._Condition.notify_all.im_func 96 current_process = threading.current_thread
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
H A D | test_errno.py | 6 import threading namespace 8 threading = None variable 29 if threading: 42 t = threading.Thread(target=_worker) 71 t = threading.Thread(target=_worker)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
H A D | test_errno.py | 6 import threading namespace 8 threading = None variable 29 if threading: 42 t = threading.Thread(target=_worker) 71 t = threading.Thread(target=_worker)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
H A D | _threading_local.py | 3 (Note that this module provides a Python version of the threading.local 6 `threading`.) 37 >>> import threading 38 >>> thread = threading.Thread(target=f) 97 >>> thread = threading.Thread(target=f) 124 >>> thread = threading.Thread(target=f) 138 # We need to use objects from the threading module, but the threading 141 # with circular imports. For that reason, we don't import `threading` 224 import threading namespace [all...] |
H A D | dummy_threading.py | 1 """Faux ``threading`` version using ``dummy_thread`` instead of ``thread``. 4 to not have ``threading`` considered imported. Had ``threading`` been 21 # ``threading`` below. 26 # in order to initially import ``threading``. 29 if 'threading' in sys_modules: 30 # If ``threading`` is already imported, might as well prevent 33 held_threading = sys_modules['threading'] 35 del sys_modules['threading'] 45 import threading namespace [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
H A D | _threading_local.py | 3 (Note that this module provides a Python version of the threading.local 6 `threading`.) 37 >>> import threading 38 >>> thread = threading.Thread(target=f) 97 >>> thread = threading.Thread(target=f) 124 >>> thread = threading.Thread(target=f) 138 # We need to use objects from the threading module, but the threading 141 # with circular imports. For that reason, we don't import `threading` 224 import threading namespace [all...] |
H A D | dummy_threading.py | 1 """Faux ``threading`` version using ``dummy_thread`` instead of ``thread``. 4 to not have ``threading`` considered imported. Had ``threading`` been 21 # ``threading`` below. 26 # in order to initially import ``threading``. 29 if 'threading' in sys_modules: 30 # If ``threading`` is already imported, might as well prevent 33 held_threading = sys_modules['threading'] 35 del sys_modules['threading'] 45 import threading namespace [all...] |