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

Public Member Functions

 _single_lock (::subparticle *psubparticle, bool bInitialLock=false, const ::subparticle *psubparticleContext=nullptr, const_char_pointer pszFile=nullptr, ::i32 iLine=-1)
void _wait ()
bool _wait (const class time &timeWait)
void _lock ()
void unlock ()
void unlock (::i32 lCount, ::i32 *lPrevCount=nullptr)
bool is_locked () const
void debug_on_lock ()
void debug_on_unlock ()

Public Attributes

const ::subparticle * m_psubparticleContext
::subparticle * m_psubparticleSynchronization
bool m_bLocked
::task * m_ptask = nullptr
const_char_pointer m_pszFile
::i32 m_iLine

Member Function Documentation

◆ _wait()

void _single_lock::_wait ( )

m_bAcquired = estatus.signaled();

return estatus;


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