How to make C program wait (on Linux)? (I need to use wait with MPI - I need C code, please)
If you want to wait for the MPI request, use MPI_Wait: http://www.manpagez.com/man/3/MPI_Wait/
If you want to wait a while, use the dream: http://www.manpagez.com/man/3/Sleep/
If you want to wait for another process to complete, use waitpid: http://linux.die.net/man/2/waitpid
( ), pthread_cond_wait: http://www.opengroup.org/onlinepubs/007908775/xsh/pthread_cond_wait.html
, .
sleep ()
, ? , sleep().
sleep()
MPI_Recv MPI_Send , .