FACT++  1.0
int dim_wait ( void  )

Definition at line 401 of file dim_thr_old.c.

References ALRM_thread, dim_wait_cond(), id, and IO_thread.

Referenced by dim_signal_cond().

402 {
403  pthread_t id;
404 
405  id = pthread_self();
406 
407  if((id == ALRM_thread) || (id == IO_thread))
408  {
409  return(-1);
410  }
411  /*
412 #ifndef darwin
413  sem_wait(&DIM_WAIT_Sema);
414 #else
415  sem_wait(DIM_WAIT_Semap);
416 #endif
417  */
418  dim_wait_cond();
419  return(-1);
420 }
char id[4]
Definition: FITS.h:71
void dim_wait_cond()
Definition: dim_thr_old.c:471
pthread_t IO_thread
Definition: dim_thr_old.c:18
pthread_t ALRM_thread
Definition: dim_thr_old.c:19

+ Here is the call graph for this function:

+ Here is the caller graph for this function: