|Non-Confidential||PDF version||ARM 100965_1101_00_en|
|Home > SystemC Export with Multiple Instantiation > Scheduler API > sg::ThreadSignal class|
This section describes the
ThreadSignal class. It represents a nonschedulable event on which threads can wait. When the event is signaled, all waiting threads can run.
This method destroys
ThreadSignal objects, thread signals.
Destroying these objects while threads are waiting for them leaves the threads unscheduled.
This method notifies the system of the event, waking up any waiting threads.
SchedulerRunnable::threadProc() can call this method, but calls can come from
threadProc(). Calling this method when no thread is
waiting for the signal is valid, but has no effect.
This method returns the name of the instance that owns the object.
const char *getName() const;
This is the name that
ThreadSignal inherits this method from