Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

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

acquire

locked

tuple notify = DirectNotifyGlobal.directNotify.newCategory("Messenger.Lock")`[static]`

release

All Classes Namespaces Functions Variables Enumerations Enumerator Properties