Searched refs:ThreadError (Results 1 – 11 of 11) sorted by relevance
/external/python/cpython2/Modules/ |
D | threadmodule.c | 16 static PyObject *ThreadError; variable 75 PyErr_SetString(ThreadError, "release unlocked lock"); in lock_PyThread_release_lock() 171 PyErr_SetString(ThreadError, "can't allocate lock"); in newlockobject() 696 PyErr_SetString(ThreadError, "can't start new thread"); in thread_PyThread_start_new_thread() 767 PyErr_SetString(ThreadError, "no current thread ident"); in thread_get_ident() 828 PyErr_SetString(ThreadError, in thread_stack_size() 920 ThreadError = PyErr_NewException("thread.error", NULL, NULL); in initthread() 921 PyDict_SetItemString(d, "error", ThreadError); in initthread()
|
/external/python/cpython3/Modules/ |
D | _threadmodule.c | 18 #define ThreadError PyExc_RuntimeError macro 209 PyErr_SetString(ThreadError, "release unlocked lock"); in lock_PyThread_release_lock() 250 PyErr_SetString(ThreadError, "failed to reinitialize lock at fork"); in lock__at_fork_reinit() 452 PyErr_SetString(ThreadError, "couldn't acquire lock"); in rlock_acquire_restore() 522 PyErr_SetString(ThreadError, "can't allocate lock"); in rlock_new() 543 PyErr_SetString(ThreadError, "failed to reinitialize lock at fork"); in rlock__at_fork_reinit() 619 PyErr_SetString(ThreadError, "can't allocate lock"); in newlockobject() 1162 PyErr_SetString(ThreadError, "can't start new thread"); in thread_PyThread_start_new_thread() 1241 PyErr_SetString(ThreadError, "no current thread ident"); in thread_get_ident() 1379 PyErr_SetString(ThreadError, in thread_stack_size() [all …]
|
/external/python/cpython2/Doc/library/ |
D | threading.rst | 199 unsupported, a :exc:`ThreadError` is raised. If the specified stack size is 213 .. exception:: ThreadError 216 many interfaces use :exc:`RuntimeError` instead of :exc:`ThreadError`. 417 unlocked lock, a :exc:`ThreadError` will be raised. 447 When invoked on an unlocked lock, a :exc:`ThreadError` is raised.
|
/external/python/cpython3/Lib/test/ |
D | test_threading.py | 323 raise threading.ThreadError() 328 self.assertRaises(threading.ThreadError, t.start)
|
D | _test_multiprocessing.py | 1245 self.assertRaises((ValueError, threading.ThreadError), lock.release)
|
/external/python/cpython2/Lib/ |
D | threading.py | 38 ThreadError = thread.error variable
|
/external/python/cpython3/Lib/ |
D | threading.py | 44 ThreadError = _thread.error variable
|
/external/python/cpython3/Tools/c-analyzer/ |
D | TODO | 122 Modules/_threadmodule.c:ThreadError static PyObject *ThreadError
|
/external/python/cpython2/Lib/test/ |
D | test_multiprocessing.py | 689 self.assertRaises((ValueError, threading.ThreadError), lock.release)
|
/external/python/cpython3/Tools/c-analyzer/cpython/ |
D | ignored.tsv | 2405 Modules/_threadmodule.c - ThreadError -
|
/external/python/cpython3/Misc/ |
D | HISTORY | 9293 - Add ThreadError to threading.__all__.
|