Luna::ISignal::trigger
virtual void trigger()=0
Set this signal to trigged state.
If this signal is not a manual reset signal, all threads that are waiting for this signal will be waken up and continue to run.
If this signal is a manual reset signal, only one thread that waits for this signal will be waken up, and the signal will be reset to untriggered state automatically. If no thread is waiting for this signal when the signal is triggered, the signal stays in triggered state until one thread calls wait
or try_wait
to reset the signal.