Panda3D
Loading...
Searching...
No Matches
Public Member Functions | List of all members
LightMutex Class Reference

#include <pandadoc.hpp>

Inheritance diagram for LightMutex:
LightMutexDirect

Public Member Functions

 __init__ ()
 
 __init__ (str name)
 
- Public Member Functions inherited from LightMutexDirect
 acquire ()
 Grabs the lightMutex if it is available.
 
 clearName ()
 The lightMutex name is only defined when compiling in DEBUG_THREADS mode.
 
bool debugIsLocked ()
 Returns true if the current thread has locked the LightMutex, false otherwise.
 
str getName ()
 The lightMutex name is only defined when compiling in DEBUG_THREADS mode.
 
bool hasName ()
 The lightMutex name is only defined when compiling in DEBUG_THREADS mode.
 
 output (Ostream out)
 This method is declared virtual in LightMutexDebug, but non-virtual in LightMutexDirect.
 
 release ()
 Releases the lightMutex.
 
 setName (str name)
 The lightMutex name is only defined when compiling in DEBUG_THREADS mode.
 

Member Function Documentation

◆ __init__() [1/2]

__init__ ( )

◆ __init__() [2/2]

__init__ ( str name)