SystemC  Recoding Infrastructure for SystemC v0.6.3 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
Public Types | Public Member Functions | List of all members
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>

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. More...
 
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)
inlineexplicit

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: