|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.python.modules.thread.thread
public class thread
| Field Summary | |
|---|---|
static PyString |
__doc__
|
static PyObject |
error
|
| Constructor Summary | |
|---|---|
thread()
|
|
| Method Summary | |
|---|---|
static FunctionThread |
_newFunctionThread(PyObject func,
PyTuple args)
Initializes a FunctionThread, using the configured stack_size and
registering the thread in the @link group of 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)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static PyString __doc__
public static PyObject error
| Constructor Detail |
|---|
public thread()
| Method Detail |
|---|
public static void classDictInit(PyObject dict)
public static void start_new_thread(PyObject func,
PyTuple args)
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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||