Waits for a variable on the local processing element (PE) to change.
#include <shmem.h> void shmem_int_wait_until(int *var, int cond, int value);
SHMEM_CMP_EQ Equal
SHMEM_CMP_NE Not equal
SHMEM_CMP_GT Greater then
SHMEM_CMP_LE Less then or equal
SHMEM_CMP_LT Less then operator
SHMEM_CMP_GE Greater then or equal.
This function is used for point-to-point synchronization. It suspends the execution of the calling PE until the value of the symmetric variable var is changed
The function shmem_int_wait_until() blocks the calling PE until some remote PE changes the integer variable var to satisfy the condition implied by comp and val.
Subroutines: shmem_put