I found in most SystemVerilog example, people like to use fork...join_none pair (not the traditional fork...join pair). Is there some advantage to fork...join_none pair? Thanks!
I found in most SystemVerilog example, people like to use fork...join_none pair (not the traditional fork...join pair). Is there some advantage to fork...join_none pair? Thanks!
Classic fork..join is a "join all" construct. That's if you fork 2 threads, then both of them need to finish for the join to end. With join_none, one can spawn threads and continue, this is useful in launching multple input data streams for example.
And I am curious about the fork...join_any(join the thread when thread that used least time is finished). I cannot image when "fork...join_any" is used?