Public Member Functions | |
def | __init__ |
def | acquire |
def | release |
Public Attributes | |
acquire | |
locked | |
release | |
Static Public Attributes | |
tuple | notify = DirectNotifyGlobal.directNotify.newCategory("Messenger.Lock") |
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.)
def __init__ | ( | self | ) |
def acquire | ( | self | ) |
def release | ( | self | ) |
tuple notify = DirectNotifyGlobal.directNotify.newCategory("Messenger.Lock") [static] |