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

In reply to kmohansan:

In reply to perumallatarun:
I had two blocks A & B to be executed. Block A to be executed if any one of the threads in the fork is executed. And another Block B to be executed after all the threads in the fork are executed. So, I placed Block A after fork … join_any; and Block B after fork … join_any+wait fork;

fork
    begin /*..T1. */ end
    //....
    begin /*..Tn. */ end
join_any
//BLOCK A
wait fork;
//BLOCK B