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. | |
| ~chnl_scoped_lock () | |
| The destructor automatically releases the channel lock. | |
Public Attributes | |
| CHNL_MTX_TYPE_ & | m_ref |
| A reference to the channel lock. | |
The chnl_scoped_lock class to lock (and automatically release) a mutex.
Definition at line 48 of file sc_prim_channel.h.
| sc_core::chnl_scoped_lock::chnl_scoped_lock | ( | CHNL_MTX_TYPE_ & | mtx | ) | [inline, explicit] |
The constructor automatically acquires the channel lock.
Definition at line 57 of file sc_prim_channel.h.
| sc_core::chnl_scoped_lock::~chnl_scoped_lock | ( | ) | [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.
1.6.1