Uvm_event trigger() and reset()

In reply to chr_sue:

In reply to Michael54:

_irq_ev.trigger();

sets the trigger to ‘on’, trigger_time = actual time, num_waiters to the actual waiting processes.

_irq_ev.reset();

resets the trigger, setting the trigger to ‘off’, num_waiters = 0, trigger_time = 0.

Thank you for the replay :)

Will these 2 lines of code as written one after the other:


_irq_ev.trigger();
_irq_ev.reset();

prevent from the other processes waiting for the event trigger keep waiting forever?