Home
last modified time | relevance | path

Searched refs:ThreadError (Results 1 – 4 of 4) 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/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/cpython2/Lib/
Dthreading.py38 ThreadError = thread.error variable
/external/python/cpython2/Lib/test/
Dtest_multiprocessing.py654 self.assertRaises((ValueError, threading.ThreadError), lock.release)