cnd_wait.c raw

   1  #include <threads.h>
   2  
   3  int cnd_wait(cnd_t *c, mtx_t *m)
   4  {
   5  	/* Calling cnd_timedwait with a null pointer is an extension.
   6  	 * It is convenient here to avoid duplication of the logic
   7  	 * for return values. */
   8  	return cnd_timedwait(c, m, 0);
   9  }
  10