|
| | ordered_semaphore_t (const char *name_) |
| | ordered_semaphore (unsigned init_value=1) |
| | constructor of an un-named semaphore
|
| | ordered_semaphore (const char *name, unsigned init_value=1, bool value_traceable=false) |
|
| ordered_semaphore (const ordered_semaphore &)=delete |
|
ordered_semaphore & | operator= (const ordered_semaphore &)=delete |
| int | wait () override |
| | lock (take) the semaphore, block if not available
|
|
int | wait (unsigned priority) |
| int | trywait () override |
| | lock (take) the semaphore, return -1 if not available
|
| int | post () override |
| | unlock (give) the semaphore
|
| unsigned | get_capacity () |
| | retrieve the initial capacity of the semaphore
|
| void | set_capacity (unsigned capacity) |
| | change the capacity
|
| int | get_value () const override |
| | get the value of the semaphore
|
| const char * | kind () const override |
| | kind of this SastemC object
|
| void | trace (sc_core::sc_trace_file *tf) const override |
| | adds internal variables to trace
|
| bool | is_trace_enabled () const override |
| | returns of this component shall be traced
|
template<unsigned CAPACITY>
struct scc::ordered_semaphore_t< CAPACITY >
Definition at line 213 of file ordered_semaphore.h.