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

In reply to SaphEr:

but the final thing in both the test cases is same, it will wait for all the threads to complete.