sc_core::sc_scoped_lock Class Reference

The sc_scoped_lock class to lock (and automatically release) a mutex. More...

#include <sysc/communication/sc_mutex_if.h>

Collaboration diagram for sc_core::sc_scoped_lock:
Collaboration graph
[legend]

List of all members.

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 ()

Detailed Description

The sc_scoped_lock class to lock (and automatically release) a mutex.

Definition at line 84 of file sc_mutex_if.h.


Member Typedef Documentation

Definition at line 88 of file sc_mutex_if.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

bool sc_core::sc_scoped_lock::release (  )  [inline]

Definition at line 105 of file sc_mutex_if.h.


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

Generated on 31 Jul 2017 for SystemC by  doxygen 1.6.1