Searched refs:ThreadError (Results 1 – 10 of 10) 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 | 10 static PyObject *ThreadError; variable 170 PyErr_SetString(ThreadError, "release unlocked lock"); in lock_PyThread_release_lock() 380 PyErr_SetString(ThreadError, "couldn't acquire lock"); in rlock_acquire_restore() 450 PyErr_SetString(ThreadError, "can't allocate lock"); in rlock_new() 541 PyErr_SetString(ThreadError, "can't allocate lock"); in newlockobject() 1069 PyErr_SetString(ThreadError, "can't start new thread"); in thread_PyThread_start_new_thread() 1139 PyErr_SetString(ThreadError, "no current thread ident"); in thread_get_ident() 1261 PyErr_SetString(ThreadError, in thread_stack_size() 1384 ThreadError = PyExc_RuntimeError; in PyInit__thread() 1385 Py_INCREF(ThreadError); in PyInit__thread() [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_threading.py | 272 raise threading.ThreadError() 277 self.assertRaises(threading.ThreadError, t.start)
|
D | _test_multiprocessing.py | 1130 self.assertRaises((ValueError, threading.ThreadError), lock.release)
|
/external/python/cpython3/Tools/c-globals/ |
D | ignored-globals.txt | 74 ThreadError
|
/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/ |
D | threading.py | 37 ThreadError = _thread.error variable
|
/external/python/cpython2/Lib/ |
D | threading.py | 38 ThreadError = thread.error variable
|
/external/python/cpython2/Lib/test/ |
D | test_multiprocessing.py | 689 self.assertRaises((ValueError, threading.ThreadError), lock.release)
|
/external/python/cpython3/Misc/ |
D | HISTORY | 9293 - Add ThreadError to threading.__all__.
|