HomeSort by relevance Sort by last modified time
    Searched refs:threading (Results 1 - 25 of 913) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/autotest/frontend/
thread_local.py 1 import threading
3 _store = threading.local()
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
threaded_import_hangers.py 10 import threading
21 class Worker(threading.Thread):
23 threading.Thread.__init__(self)
test_threading.py 1 # Very rudimentary test of threading module
9 threading = test.test_support.import_module('threading') variable
29 class TestThread(threading.Thread):
31 threading.Thread.__init__(self, name=name)
80 sema = threading.BoundedSemaphore(value=3)
81 mutex = threading.RLock()
107 self.assertFalse(threading.currentThread().ident is None)
109 ident.append(threading.currentThread().ident)
111 done = threading.Event()
    [all...]
  /external/python/cpython2/Lib/test/
threaded_import_hangers.py 10 import threading
21 class Worker(threading.Thread):
23 threading.Thread.__init__(self)
test_nntplib.py 7 import threading
9 threading = None variable
37 self.evt = threading.Event()
41 threading.Thread(
50 @unittest.skipUnless(threading, 'threading required')
59 @unittest.skipUnless(threading, 'threading required')
test_threading.py 1 # Very rudimentary test of threading module
11 threading = test.test_support.import_module('threading') variable
35 class TestThread(threading.Thread):
37 threading.Thread.__init__(self, name=name)
86 sema = threading.BoundedSemaphore(value=3)
87 mutex = threading.RLock()
113 self.assertIsNotNone(threading.currentThread().ident)
115 ident.append(threading.currentThread().ident)
117 done = threading.Event(
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
threaded_import_hangers.py 10 import threading
21 class Worker(threading.Thread):
23 threading.Thread.__init__(self)
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.Event(
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
threaded_import_hangers.py 10 import threading
21 class Worker(threading.Thread):
23 threading.Thread.__init__(self)
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.Event(
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
threaded_import_hangers.py 10 import threading
21 class Worker(threading.Thread):
23 threading.Thread.__init__(self)
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.Event(
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
threaded_import_hangers.py 10 import threading
21 class Worker(threading.Thread):
23 threading.Thread.__init__(self)
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.Event(
    [all...]
  /external/tensorflow/tensorflow/python/training/
coordinator_test.py 22 import threading
60 coord.register_thread(threading.current_thread())
86 wait_for_stop_ev = threading.Event()
87 has_stopped_ev = threading.Event()
88 t = threading.Thread(
101 threading.Thread(target=SleepABit, args=(0.01,)),
102 threading.Thread(target=SleepABit, args=(0.02,)),
103 threading.Thread(target=SleepABit, args=(0.01,))
114 threading.Thread(target=SleepABit, args=(0.01, coord)),
115 threading.Thread(target=SleepABit, args=(0.02, coord))
    [all...]
  /external/python/cpython3/Lib/test/
test_threading.py 2 Tests for the threading module.
13 threading = import_module('threading') variable
43 class TestThread(threading.Thread):
45 threading.Thread.__init__(self, name=name)
95 sema = threading.BoundedSemaphore(value=3)
96 mutex = threading.RLock()
122 self.assertIsNotNone(threading.currentThread().ident)
124 ident.append(threading.currentThread().ident)
126 done = threading.Event(
    [all...]
threaded_import_hangers.py 10 import threading
21 class Worker(threading.Thread):
23 threading.Thread.__init__(self)
  /external/chromium-trace/catapult/devil/devil/utils/lazy/
weak_constant.py 5 import threading
18 self._lock = threading.Lock()
  /external/libmojo/third_party/catapult/devil/devil/utils/lazy/
weak_constant.py 5 import threading
18 self._lock = threading.Lock()
  /system/bt/service/ipc/dbus/
ipc_handler_dbus.h 18 #include <base/threading/thread.h>
  /external/autotest/server/cros/
stress_unittest.py 5 import threading
27 event = threading.Event()
43 event = threading.Event()
57 event = threading.Event()
68 event = threading.Event()
87 start_event = threading.Event()
88 ran_event = threading.Event()
  /external/python/cpython2/Lib/multiprocessing/dummy/
__init__.py 45 import threading
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/gdb/darwin-x86/lib/python2.7/multiprocessing/dummy/
__init__.py 45 import threading
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/gdb/linux-x86/lib/python2.7/multiprocessing/dummy/
__init__.py 45 import threading
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/multiprocessing/dummy/
__init__.py 45 import threading
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

Completed in 980 milliseconds

1 2 3 4 5 6 7 8 91011>>