In this post I will talk about how fork join works
So when The process has to be run in parallel , fork join method is used
So there are three type of join after fork are available in system verilog
- fork join
- fork join_any
- fork join_none
So I will explain in terms of diagram , diagram are shown below
- fork join : All Thread gets forked out and has to finish all its thread before proceeding next function
- fork join_any : All Thread gets forked out and has to finish at-least one thread before proceeding next function
- fork join_none: All Thread gets forked out and none of them has to finish before proceeding next function