|
acme
Foundational cross-platform layer of the ca2 framework
|
Public Member Functions | |
| 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 () |
Public Attributes | |
| const ::subparticle * | m_psubparticleContext |
| ::subparticle * | m_psubparticleSynchronization |
| bool | m_bLocked |
| ::task * | m_ptask = nullptr |
| const_char_pointer | m_pszFile |
| ::i32 | m_iLine |
| bool single_lock::_wait | ( | const class ::time & | wait | ) |
m_bAcquired = estatus.signaled();