#0 in SystemVerilog inactive event region

In reply to eda2k4:

Any delay creates an inactive region event; #0 is just a special case.

The problem with #0’s is they have a tendency to accumulate. You at a #0 to wait for another process to finish, then it adds a #0 for something else, then you need to a #0 #0.

A better solution is using mailboxes, semaphores, or wait for an NBA update event.