public class thread extends Object implements ClassDictInit
| Modifier and Type | Field and Description | 
|---|---|
| static PyString | __doc__ | 
| static PyObject | error | 
| Constructor and Description | 
|---|
| thread() | 
| Modifier and Type | Method and Description | 
|---|---|
| static FunctionThread | _newFunctionThread(PyObject func,
                  PyTuple args)Initializes a  FunctionThread, using the configured stack_size and
 registering the thread in the @linkgroupof threads spawned by
 the thread module. | 
| static PyLock | allocate_lock() | 
| static void | classDictInit(PyObject dict) | 
| static void | exit_thread() | 
| static void | exit() | 
| static long | get_ident() | 
| static void | interruptAllThreads()Interrupts all running threads spawned by the thread module. | 
| static long | stack_size(PyObject[] args) | 
| static void | start_new_thread(PyObject func,
                PyTuple args) | 
public static void classDictInit(PyObject dict)
public static FunctionThread _newFunctionThread(PyObject func, PyTuple args)
FunctionThread, using the configured stack_size and
 registering the thread in the @link group of threads spawned by
 the thread module.
 Also used from the threading.py module.public static void interruptAllThreads()
PyTableCode.call(org.python.core.ThreadState, org.python.core.PyFrame, org.python.core.PyObject): checks for the interrupted
 status of the current thread and raise a SystemRestart exception if a
 interruption is detected.FunctionThread.run(): exits the current thread when a
 SystemRestart exception is not caught.public static PyLock allocate_lock()
public static void exit()
public static void exit_thread()
public static long get_ident()
public static long stack_size(PyObject[] args)