Panda3D
|
Classes | |
class | _local |
class | error |
class | LockType |
Functions | |
def | __getattribute__ (self, key) |
def getattr(self, key): d = _get_thread_locals(core.Thread.getCurrentThread(), id(self)) try: return d[key] except KeyError: raise AttributeError More... | |
def | allocate_lock () |
def | exit () |
def | get_ident () |
def | interrupt_main () |
def | stack_size (size=0) |
def | start_new_thread (function, args, kwargs={}, name=None) |
Variables | |
considerYield = core.Thread.considerYield | |
forceYield = core.Thread.forceYield | |
This module reimplements Python's native thread module using Panda threading constructs. It's designed as a drop-in replacement for the thread module for code that works with Panda; it is necessary because in some compilation models, Panda's threading constructs are incompatible with the OS-provided threads used by Python's thread module.
def direct.stdpy.thread.__getattribute__ | ( | self, | |
key | |||
) |
def getattr(self, key): d = _get_thread_locals(core.Thread.getCurrentThread(), id(self)) try: return d[key] except KeyError: raise AttributeError
def direct.stdpy.thread.allocate_lock | ( | ) |
def direct.stdpy.thread.exit | ( | ) |
def direct.stdpy.thread.get_ident | ( | ) |
def direct.stdpy.thread.interrupt_main | ( | ) |
def direct.stdpy.thread.stack_size | ( | size = 0 | ) |
def direct.stdpy.thread.start_new_thread | ( | function, | |
args, | |||
kwargs = {} , |
|||
name = None |
|||
) |
considerYield = core.Thread.considerYield |
forceYield = core.Thread.forceYield |