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

1 2 3 4

  /external/python/cpython2/Lib/test/
test_dummy_thread.py 8 import dummy_thread as _thread
23 self.lock = _thread.allocate_lock()
38 #Make sure release of an unlocked thread raises _thread.error
39 self.assertRaises(_thread.error, self.lock.release)
74 _thread.start_new_thread(delay_unlock,(self.lock, DELAY))
90 #Make sure _thread.exit() raises SystemExit
91 self.assertRaises(SystemExit, _thread.exit)
94 #Test sanity of _thread.get_ident()
95 self.assertIsInstance(_thread.get_ident(), int,
96 "_thread.get_ident() returned a non-integer"
    [all...]
  /external/python/cpython3/Lib/test/
test_dummy_thread.py 1 import _dummy_thread as _thread
17 self.lock = _thread.allocate_lock()
32 with _thread.LockType():
74 _thread.start_new_thread(delay_unlock,(self.lock, DELAY))
109 self.assertRaises(SystemExit, _thread.exit)
112 self.assertIsInstance(_thread.get_ident(), int,
113 "_thread.get_ident() returned a non-integer")
114 self.assertNotEqual(_thread.get_ident(), 0,
115 "_thread.get_ident() returned 0")
118 self.assertIsInstance(_thread.allocate_lock(), _thread.LockType
    [all...]
fork_wait.py 14 _thread = support.import_module('_thread') variable
49 _thread.start_new(self.f, (i,))
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_dummy_thread.py 8 import dummy_thread as _thread
23 self.lock = _thread.allocate_lock()
38 #Make sure release of an unlocked thread raises _thread.error
39 self.assertRaises(_thread.error, self.lock.release)
74 _thread.start_new_thread(delay_unlock,(self.lock, DELAY))
90 #Make sure _thread.exit() raises SystemExit
91 self.assertRaises(SystemExit, _thread.exit)
94 #Test sanity of _thread.get_ident()
95 self.assertIsInstance(_thread.get_ident(), int,
96 "_thread.get_ident() returned a non-integer")
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_dummy_thread.py 8 import dummy_thread as _thread
23 self.lock = _thread.allocate_lock()
38 #Make sure release of an unlocked thread raises _thread.error
39 self.assertRaises(_thread.error, self.lock.release)
74 _thread.start_new_thread(delay_unlock,(self.lock, DELAY))
90 #Make sure _thread.exit() raises SystemExit
91 self.assertRaises(SystemExit, _thread.exit)
94 #Test sanity of _thread.get_ident()
95 self.assertIsInstance(_thread.get_ident(), int,
96 "_thread.get_ident() returned a non-integer"
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_dummy_thread.py 8 import dummy_thread as _thread
23 self.lock = _thread.allocate_lock()
38 #Make sure release of an unlocked thread raises _thread.error
39 self.assertRaises(_thread.error, self.lock.release)
74 _thread.start_new_thread(delay_unlock,(self.lock, DELAY))
90 #Make sure _thread.exit() raises SystemExit
91 self.assertRaises(SystemExit, _thread.exit)
94 #Test sanity of _thread.get_ident()
95 self.assertIsInstance(_thread.get_ident(), int,
96 "_thread.get_ident() returned a non-integer"
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_dummy_thread.py 8 import dummy_thread as _thread
23 self.lock = _thread.allocate_lock()
38 #Make sure release of an unlocked thread raises _thread.error
39 self.assertRaises(_thread.error, self.lock.release)
74 _thread.start_new_thread(delay_unlock,(self.lock, DELAY))
90 #Make sure _thread.exit() raises SystemExit
91 self.assertRaises(SystemExit, _thread.exit)
94 #Test sanity of _thread.get_ident()
95 self.assertIsInstance(_thread.get_ident(), int,
96 "_thread.get_ident() returned a non-integer"
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_dummy_thread.py 8 import dummy_thread as _thread
23 self.lock = _thread.allocate_lock()
38 #Make sure release of an unlocked thread raises _thread.error
39 self.assertRaises(_thread.error, self.lock.release)
74 _thread.start_new_thread(delay_unlock,(self.lock, DELAY))
90 #Make sure _thread.exit() raises SystemExit
91 self.assertRaises(SystemExit, _thread.exit)
94 #Test sanity of _thread.get_ident()
95 self.assertIsInstance(_thread.get_ident(), int,
96 "_thread.get_ident() returned a non-integer"
    [all...]
  /external/autotest/server/cros/
remote_command.py 61 self._thread = _HelperThread(self._host, cmd)
62 self._thread.start()
85 self._thread.join(timeout)
86 if self._thread.isAlive():
107 return self._thread.result
  /external/autotest/site_utils/lxc/container_pool/
async_listener.py 43 self._thread = None
56 self._thread = threading.Thread(name='connection_listener',
58 self._thread.start()
101 self._thread.join(1)
102 return not self._thread.isAlive()
  /external/mesa3d/src/glx/apple/
apple_glx_log.c 116 char *_thread; local
117 asprintf(&_thread, "%"PRIu64, thread);
118 if (_thread) {
119 asl_set(msg, "Thread", _thread);
120 free(_thread);
  /external/autotest/client/cros/
device_jail_utils.py 46 self._thread = threading.Thread(target=target_func)
51 self._thread.start()
54 self._thread.join(self._timeout_func())
55 if self._thread.is_alive() and not exc_val:
  /kernel/tests/net/test/
tun_twister.py 88 self._thread = threading.Thread(target=self._RunLoop, name="TunTwister")
93 self._thread.start()
99 self._thread.join(TunTwister._POLL_TIMEOUT_SEC)
101 if self._thread.isAlive():
  /external/python/cpython3/Lib/multiprocessing/
resource_sharer.py 70 self._thread = None
100 self._thread.join(timeout)
101 if self._thread.is_alive():
105 self._thread = None
124 self._thread = None
135 self._thread = t
queues.py 71 self._thread = None
86 if self._thread is None:
160 self._thread = threading.Thread(
166 self._thread.daemon = True
168 debug('doing self._thread.start()')
169 self._thread.start()
170 debug('... done self._thread.start()')
181 self._thread, Queue._finalize_join,
182 [weakref.ref(self._thread)],
298 if self._thread is None
    [all...]
  /external/autotest/client/site_tests/policy_ProxySettings/
policy_ProxySettings.py 82 self._thread = threading.Thread(target=self._server.serve_forever)
86 self._thread.start()
91 self._thread.join()
  /external/python/cpython2/Lib/multiprocessing/
queues.py 90 self._thread = None
106 if self._thread is None:
186 self._thread = threading.Thread(
192 self._thread.daemon = True
194 debug('doing self._thread.start()')
195 self._thread.start()
196 debug('... done self._thread.start()')
201 self._thread, Queue._finalize_join,
202 [weakref.ref(self._thread)],
319 if self._thread is None
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/multiprocessing/
queues.py 90 self._thread = None
106 if self._thread is None:
182 self._thread = threading.Thread(
188 self._thread.daemon = True
190 debug('doing self._thread.start()')
191 self._thread.start()
192 debug('... done self._thread.start()')
197 self._thread, Queue._finalize_join,
198 [weakref.ref(self._thread)],
317 if self._thread is None
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/multiprocessing/
queues.py 90 self._thread = None
106 if self._thread is None:
182 self._thread = threading.Thread(
188 self._thread.daemon = True
190 debug('doing self._thread.start()')
191 self._thread.start()
192 debug('... done self._thread.start()')
197 self._thread, Queue._finalize_join,
198 [weakref.ref(self._thread)],
317 if self._thread is None
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/
queues.py 90 self._thread = None
106 if self._thread is None:
182 self._thread = threading.Thread(
188 self._thread.daemon = True
190 debug('doing self._thread.start()')
191 self._thread.start()
192 debug('... done self._thread.start()')
197 self._thread, Queue._finalize_join,
198 [weakref.ref(self._thread)],
317 if self._thread is None
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/
queues.py 90 self._thread = None
106 if self._thread is None:
182 self._thread = threading.Thread(
188 self._thread.daemon = True
190 debug('doing self._thread.start()')
191 self._thread.start()
192 debug('... done self._thread.start()')
197 self._thread, Queue._finalize_join,
198 [weakref.ref(self._thread)],
317 if self._thread is None
    [all...]
  /external/autotest/client/cros/audio/
cmd_utils.py 61 self._thread = threading.Thread(target=self._service_run)
62 self._thread.daemon = True
63 self._thread.start()
112 self._thread.join()
  /external/webrtc/webrtc/test/channel_transport/
udp_socket_manager_posix.cc 188 : _thread(UdpSocketManagerPosixImpl::Run,
224 _thread.Start();
225 _thread.SetPriority(rtc::kRealtimePriority);
233 _thread.Stop();
udp_socket_manager_posix.h 78 rtc::PlatformThread _thread; member in class:webrtc::test::UdpSocketManagerPosixImpl
  /external/libxml2/python/tests/
thread2.py 4 from _thread import get_ident

Completed in 663 milliseconds

1 2 3 4