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

1 2 3 4 5 6

  /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...]
  /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...]
test_idle.py 5 # Skip test if _thread or _tkinter wasn't built or idlelib was deleted.
6 import_module('threading') # imported by idlelib.PyShell, imports _thread
  /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/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...]
test_idle.py 4 # Skip test if _thread or _tkinter wasn't built, if idlelib is missing,
6 import_module('threading') # imported by PyShell, imports _thread
fork_wait.py 14 _thread = support.import_module('_thread') variable
49 _thread.start_new(self.f, (i,))
  /external/python/cpython3/Doc/library/
_dummy_thread.rst 1 :mod:`_dummy_thread` --- Drop-in replacement for the :mod:`_thread` module
5 :synopsis: Drop-in replacement for the _thread module.
11 This module provides a duplicate interface to the :mod:`_thread` module. It is
12 meant to be imported when the :mod:`_thread` module is not provided on a
18 import _thread
20 import _dummy_thread as _thread
concurrency.rst 30 _thread.rst
  /external/python/cpython3/Lib/
dummy_threading.py 6 regardless of whether ``_thread`` was available which is not desired.
19 # Could have checked if ``_thread`` was not in sys.modules and gone
22 if '_thread' in sys_modules:
23 held_thread = sys_modules['_thread']
25 # Must have some module named ``_thread`` that implements its API
27 sys_modules['_thread'] = sys_modules['_dummy_thread']
71 sys_modules['_thread'] = held_thread
74 del sys_modules['_thread']
_dummy_thread.py 9 import _thread
11 import _dummy_thread as _thread
30 """Dummy implementation of _thread.start_new_thread().
34 and it is SystemExit (which can be done by _thread.exit()) it is
62 """Dummy implementation of _thread.exit()."""
66 """Dummy implementation of _thread.get_ident().
75 """Dummy implementation of _thread.allocate_lock()."""
79 """Dummy implementation of _thread.stack_size()."""
85 """Dummy implementation of _thread._set_sentinel()."""
89 """Class implementing dummy implementation of _thread.LockType
    [all...]
  /external/python/cpython3/Modules/
Setup.config.in 7 @USE_THREAD_MODULE@_thread _threadmodule.c
  /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/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/python/cpython2/Doc/library/
dummy_thread.rst 24 import thread as _thread
26 import dummy_thread as _thread
  /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/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...]

Completed in 800 milliseconds

1 2 3 4 5 6