acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
synchronous_lock Class Reference
Inheritance diagram for synchronous_lock:
single_lock

Public Member Functions

 synchronous_lock (particle *pparticle, const ::subparticle *psubparticleContext=nullptr, const_char_pointer pszFile=nullptr, ::i32 iLine=-1)
Public Member Functions inherited from single_lock
 single_lock (subparticle *psubparticleSynchronization, bool bInitialLock=false, const ::subparticle *psubparticleContext=nullptr, const_char_pointer pszFile=nullptr, ::i32 iLine=-1)
void _wait ()
bool _wait (const class ::time &wait)
::e_status wait ()
::e_status wait (const class ::time &wait)
void _lock ()
bool lock (const class ::time &wait=::time::infinity())
void unlock ()
void unlock (::i32 lCount, ::i32 *lPrevCount=nullptr)
bool is_locked () const
class::time remaining_from_timeout () const
void debug_on_lock ()
void debug_on_unlock ()

Additional Inherited Members

Public Attributes inherited from single_lock
const ::subparticle * m_psubparticleContext
::subparticle * m_psubparticleSynchronization
bool m_bLocked
::task * m_ptask = nullptr
const_char_pointer m_pszFile
::i32 m_iLine

The documentation for this class was generated from the following file: