SystemC
Recoding Infrastructure for SystemC v0.6.3 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
|
Go to the source code of this file.
Classes | |
class | sc_core::sc_host_mutex |
The sc_host_mutex class, wrapping an OS mutex on the simulation host. More... | |
Namespaces | |
sc_core | |
Macros | |
#define | SC_INCLUDE_WINDOWS_H |
#define | SC_MTX_TYPE_ pthread_mutex_t |
#define | SC_PTHREAD_NULL_ NULL |
#define | SC_MTX_INIT_(Mutex) pthread_mutex_init( &(Mutex), SC_PTHREAD_NULL_ ) |
#define | SC_MTX_LOCK_(Mutex) pthread_mutex_lock( &(Mutex) ) |
#define | SC_MTX_UNLOCK_(Mutex) pthread_mutex_unlock( &(Mutex) ) |
#define | SC_MTX_TRYLOCK_(Mutex) ( false ) |
#define | SC_MTX_DESTROY_(Mutex) pthread_mutex_destroy( &(Mutex) ) |
#define SC_INCLUDE_WINDOWS_H |
Definition at line 31 of file sc_host_mutex.h.
#define SC_MTX_DESTROY_ | ( | Mutex | ) | pthread_mutex_destroy( &(Mutex) ) |
Definition at line 77 of file sc_host_mutex.h.
#define SC_MTX_INIT_ | ( | Mutex | ) | pthread_mutex_init( &(Mutex), SC_PTHREAD_NULL_ ) |
Definition at line 62 of file sc_host_mutex.h.
#define SC_MTX_LOCK_ | ( | Mutex | ) | pthread_mutex_lock( &(Mutex) ) |
Definition at line 64 of file sc_host_mutex.h.
#define SC_MTX_TRYLOCK_ | ( | Mutex | ) | ( false ) |
Definition at line 73 of file sc_host_mutex.h.
#define SC_MTX_TYPE_ pthread_mutex_t |
Definition at line 54 of file sc_host_mutex.h.
#define SC_MTX_UNLOCK_ | ( | Mutex | ) | pthread_mutex_unlock( &(Mutex) ) |
Definition at line 66 of file sc_host_mutex.h.
#define SC_PTHREAD_NULL_ NULL |
Definition at line 59 of file sc_host_mutex.h.