SystemC
Recoding Infrastructure for SystemC v0.6.2 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
|
The chnl_scoped_lock class to lock (and automatically release) a mutex. More...
#include <sysc/communication/sc_prim_channel.h>
Public Member Functions | |
chnl_scoped_lock (CHNL_MTX_TYPE_ &mtx) | |
The constructor automatically acquires the channel lock. More... | |
~chnl_scoped_lock () | |
The destructor automatically releases the channel lock. More... | |
Public Attributes | |
CHNL_MTX_TYPE_ & | m_ref |
A reference to the channel lock. More... | |
The chnl_scoped_lock class to lock (and automatically release) a mutex.
Definition at line 48 of file sc_prim_channel.h.
|
inlineexplicit |
The constructor automatically acquires the channel lock.
Definition at line 57 of file sc_prim_channel.h.
|
inline |
The destructor automatically releases the channel lock.
Definition at line 67 of file sc_prim_channel.h.
CHNL_MTX_TYPE_& sc_core::chnl_scoped_lock::m_ref |
A reference to the channel lock.
Definition at line 52 of file sc_prim_channel.h.