Panda3D
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Public Attributes | Static Public Attributes
Lock Class Reference

List of all members.

Public Member Functions

def __init__
def acquire
def release

Public Attributes

 acquire
 locked
 release

Static Public Attributes

tuple notify = DirectNotifyGlobal.directNotify.newCategory("Messenger.Lock")

Detailed Description

This is a cheesy delayed implementation of Lock, designed to
support the Toontown ActiveX launch, which must import Messenger
before it has downloaded the rest of Panda.  Note that this
cheesy lock isn't thread-safe if the application starts any
threads before acquiring the Messenger lock the first time.
(However, it's mostly thread-safe if Panda is compiled with
SIMPLE_THREADS.) 

Constructor & Destructor Documentation

def __init__ (   self)

Member Function Documentation

def acquire (   self)
def release (   self)

Member Data Documentation

tuple notify = DirectNotifyGlobal.directNotify.newCategory("Messenger.Lock") [static]
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties