Is fork join and fork join_any with wait fork perform the same operation?

In reply to perumallatarun:

It is not the same.

In your second case: fork-join_any, right after your Thread-3 execution at time 10units, you are out of the main fork block

In your first case, it waits for all 3 Threads to execute and you will be out of your main-fork block at 30 time units