PythonThread

class PythonThread

Bases: Thread

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 diagram

Inheritance diagram of PythonThread

explicit PythonThread(PyObject *function, PyObject *args, std::string const &name, std::string const &sync_name)
static TypeHandle get_class_type(void)
PyObject *join(void)