I am looking for an inter-processes barrier implementation. Processes are in shared memory (ie. on the same ndoe).
So my question in C is: what is basically the differences (maybe pros and cons) of using a pthread barrier (init and wait..etc) compared to using the pthread Join in a loop.
How can I be sure that MPI_Barrie开发者_开发技巧r act correctly? What\'s the method of test for that?