Home
last modified time | relevance | path

Searched refs:ThreadError (Results 1 – 11 of 11) sorted by relevance

/external/python/cpython2/Modules/
Dthreadmodule.c16 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.c18 #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/
Dthreading.rst199 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/
Dtest_threading.py323 raise threading.ThreadError()
328 self.assertRaises(threading.ThreadError, t.start)
D_test_multiprocessing.py1245 self.assertRaises((ValueError, threading.ThreadError), lock.release)
/external/python/cpython2/Lib/
Dthreading.py38 ThreadError = thread.error variable
/external/python/cpython3/Lib/
Dthreading.py44 ThreadError = _thread.error variable
/external/python/cpython3/Tools/c-analyzer/
DTODO122 Modules/_threadmodule.c:ThreadError static PyObject *ThreadError
/external/python/cpython2/Lib/test/
Dtest_multiprocessing.py689 self.assertRaises((ValueError, threading.ThreadError), lock.release)
/external/python/cpython3/Tools/c-analyzer/cpython/
Dignored.tsv2405 Modules/_threadmodule.c - ThreadError -
/external/python/cpython3/Misc/
DHISTORY9293 - Add ThreadError to threading.__all__.