SystemC  Recoding Infrastructure for SystemC v0.6.0 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
Public Member Functions | List of all members
sc_core::sc_host_mutex Class Reference

The sc_host_mutex class, wrapping an OS mutex on the simulation host. More...

#include <sysc/communication/sc_host_mutex.h>

Inheritance diagram for sc_core::sc_host_mutex:
Inheritance graph
[legend]
Collaboration diagram for sc_core::sc_host_mutex:
Collaboration graph
[legend]

Public Member Functions

 sc_host_mutex ()
 
virtual ~sc_host_mutex ()
 
virtual int lock (int)
 A new parameter segment ID is added for the out-of-order simulation. More...
 
virtual int trylock ()
 
virtual int unlock ()
 
- Public Member Functions inherited from sc_core::sc_interface
virtual void register_port (sc_port_base &port_, const char *if_typename_)
 
virtual const sc_eventdefault_event () const
 
virtual ~sc_interface ()
 

Additional Inherited Members

- Protected Member Functions inherited from sc_core::sc_mutex_if
 sc_mutex_if ()
 
- Protected Member Functions inherited from sc_core::sc_interface
 sc_interface ()
 

Detailed Description

The sc_host_mutex class, wrapping an OS mutex on the simulation host.

Definition at line 91 of file sc_host_mutex.h.

Constructor & Destructor Documentation

sc_core::sc_host_mutex::sc_host_mutex ( )
inline

Definition at line 98 of file sc_host_mutex.h.

virtual sc_core::sc_host_mutex::~sc_host_mutex ( )
inlinevirtual

Definition at line 100 of file sc_host_mutex.h.

Member Function Documentation

virtual int sc_core::sc_host_mutex::lock ( int  )
inlinevirtual

A new parameter segment ID is added for the out-of-order simulation.

This function is not supported by the out-of-order simulation in the current release.

Implements sc_core::sc_mutex_if.

Definition at line 116 of file sc_host_mutex.h.

virtual int sc_core::sc_host_mutex::trylock ( )
inlinevirtual

Implements sc_core::sc_mutex_if.

Definition at line 120 of file sc_host_mutex.h.

virtual int sc_core::sc_host_mutex::unlock ( )
inlinevirtual

Implements sc_core::sc_mutex_if.

Definition at line 125 of file sc_host_mutex.h.


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