Pyro higlevel API
Public Member Functions | List of all members
os::Locker Class Reference

Public Member Functions

 Locker (const char *pzName, bool bRecursive=true, bool bInterruptible=false)
 
 ~Locker ()
 
int Lock () const
 
int Lock (bigtime_t nTimeout) const
 
int Unlock () const
 
int GetLockCount () const
 
thread_id GetOwner () const
 
bool IsLocked () const
 

Detailed Description

Description:
See Also
Author
Kurt Skauen (kurt@.nosp@m.athe.nosp@m.os.cx)

Constructor & Destructor Documentation

os::Locker::Locker ( const char *  pzName,
bool  bRecursive = true,
bool  bInterruptible = false 
)
inline
os::Locker::~Locker ( )
inline

Member Function Documentation

int os::Locker::GetLockCount ( ) const
inline
thread_id os::Locker::GetOwner ( ) const
inline
bool os::Locker::IsLocked ( ) const
inline

Referenced by os::Looper::IsLocked().

int os::Locker::Lock ( ) const
inline
int os::Locker::Lock ( bigtime_t  nTimeout) const
inline
int os::Locker::Unlock ( ) const
inline