Home
last modified time | relevance | path

Searched refs:ThreadError (Results 1 – 10 of 10) 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.c10 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/
Dtest_threading.py272 raise threading.ThreadError()
277 self.assertRaises(threading.ThreadError, t.start)
D_test_multiprocessing.py1130 self.assertRaises((ValueError, threading.ThreadError), lock.release)
/external/python/cpython3/Tools/c-globals/
Dignored-globals.txt74 ThreadError
/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/
Dthreading.py37 ThreadError = _thread.error variable
/external/python/cpython2/Lib/
Dthreading.py38 ThreadError = thread.error variable
/external/python/cpython2/Lib/test/
Dtest_multiprocessing.py689 self.assertRaises((ValueError, threading.ThreadError), lock.release)
/external/python/cpython3/Misc/
DHISTORY9293 - Add ThreadError to threading.__all__.