gem5 v24.0.0.0
Loading...
Searching...
No Matches
sc_core::sc_mutex_if Class Referenceabstract

#include <sc_mutex_if.hh>

Inheritance diagram for sc_core::sc_mutex_if:
sc_core::sc_interface sc_core::sc_mutex

Public Member Functions

virtual int lock ()=0
 
virtual int trylock ()=0
 
virtual int unlock ()=0
 
- Public Member Functions inherited from sc_core::sc_interface
virtual void register_port (sc_port_base &, const char *)
 
virtual const sc_eventdefault_event () const
 
virtual ~sc_interface ()
 

Protected Member Functions

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

Private Member Functions

 sc_mutex_if (const sc_mutex_if &)
 
sc_mutex_ifoperator= (const sc_mutex_if &)
 

Detailed Description

Definition at line 36 of file sc_mutex_if.hh.

Constructor & Destructor Documentation

◆ sc_mutex_if() [1/2]

sc_core::sc_mutex_if::sc_mutex_if ( )
inlineprotected

Definition at line 44 of file sc_mutex_if.hh.

◆ sc_mutex_if() [2/2]

sc_core::sc_mutex_if::sc_mutex_if ( const sc_mutex_if & )
inlineprivate

Definition at line 48 of file sc_mutex_if.hh.

Member Function Documentation

◆ lock()

virtual int sc_core::sc_mutex_if::lock ( )
pure virtual

Implemented in sc_core::sc_mutex.

◆ operator=()

sc_mutex_if & sc_core::sc_mutex_if::operator= ( const sc_mutex_if & )
inlineprivate

Definition at line 49 of file sc_mutex_if.hh.

◆ trylock()

virtual int sc_core::sc_mutex_if::trylock ( )
pure virtual

Implemented in sc_core::sc_mutex.

◆ unlock()

virtual int sc_core::sc_mutex_if::unlock ( )
pure virtual

Implemented in sc_core::sc_mutex.


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

Generated on Tue Jun 18 2024 16:24:55 for gem5 by doxygen 1.11.0