The sc_scoped_lock class to lock (and automatically release) a mutex. More...
#include <sysc/communication/sc_mutex_if.h>
Public Types | |
typedef sc_mutex_if | lockable_type |
Public Member Functions | |
sc_scoped_lock (lockable_type &mtx) | |
This constructor function is not supported by the out-of-order simulation in the current release. | |
bool | release () |
~sc_scoped_lock () |
The sc_scoped_lock class to lock (and automatically release) a mutex.
Definition at line 84 of file sc_mutex_if.h.
Definition at line 88 of file sc_mutex_if.h.
sc_core::sc_scoped_lock::sc_scoped_lock | ( | lockable_type & | mtx | ) | [inline, explicit] |
This constructor function is not supported by the out-of-order simulation in the current release.
Definition at line 96 of file sc_mutex_if.h.
sc_core::sc_scoped_lock::~sc_scoped_lock | ( | ) | [inline] |
Definition at line 116 of file sc_mutex_if.h.
bool sc_core::sc_scoped_lock::release | ( | ) | [inline] |
Definition at line 105 of file sc_mutex_if.h.