Panda3D
Public Member Functions | Static Public Attributes | List of all members
Thread Class Reference
Inheritance diagram for Thread:
ThreadBase Timer

Public Member Functions

def __init__ (self, group=None, target=None, name=None, args=(), kwargs={})
 
def __del__ (self)
 
def is_alive (self)
 
def join (self, timeout=None)
 
def run (self)
 
def setName (self, name)
 
def start (self)
 
- Public Member Functions inherited from ThreadBase
def __init__ (self)
 
def __setattr__ (self, key, value)
 
def getName (self)
 
def isDaemon (self)
 
def setDaemon (self, daemon)
 

Static Public Attributes

def isAlive = is_alive
 

Detailed Description

This class provides a wrapper around Panda's PythonThread
object.  The wrapper is designed to emulate Python's own
threading.Thread object. 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  group = None,
  target = None,
  name = None,
  args = (),
  kwargs = {} 
)

◆ __del__()

def __del__ (   self)

Member Function Documentation

◆ is_alive()

def is_alive (   self)

◆ join()

def join (   self,
  timeout = None 
)

◆ run()

def run (   self)

Reimplemented in Timer.

◆ setName()

def setName (   self,
  name 
)

◆ start()

def start (   self)

Member Data Documentation

◆ isAlive

def isAlive = is_alive
static