# PythonThread

from pandac.PandaModules import PythonThread

Class : PythonThread
Description : This class is exposed to Python to allow creation of a Panda thread from the Python level. It will spawn a thread that executes an arbitrary Python functor.

## Inheritance:

PythonThread: Thread
Thread: _Verbose
_Verbose:

## Methods of PythonThread:

PythonThread (Constructor)
getClassType
join

## Methods of Thread:

__bootstrap
__delete
__init__
__repr__
__stop
_set_daemon
getName
isAlive
isDaemon
join
run
setDaemon
setName
start

PythonThread PythonThread::PythonThread(PyObject *function, PyObject *args, string const &name, string const &sync_name); Description:

getClassType static TypeHandle PythonThread::get_class_type(void); Undocumented function.

join PyObject *PythonThread::join(void); Description: Blocks the calling process until the thread terminates. If the thread has already terminated, this returns immediately. The PythonThread flavor of this function returns the same value returned by the thread function.

__bootstrap def __bootstrap(self) Undocumented function.

__delete def __delete(self) Remove current thread from the dict of currently running threads.

__init__ def __init__(self, group=None, target=None, name=None, args=(), kwargs=None, verbose=None) Undocumented function.

__repr__ def __repr__(self) Undocumented function.

__stop def __stop(self) Undocumented function.

_set_daemon def _set_daemon(self) Undocumented function.

getName def getName(self) Undocumented function.

isAlive def isAlive(self) Undocumented function.

isDaemon def isDaemon(self) Undocumented function.

join def join(self, timeout=None) Undocumented function.

run def run(self) Undocumented function.

setDaemon def setDaemon(self, daemonic) Undocumented function.

setName def setName(self, name) Undocumented function.

start def start(self) Undocumented function.