FACT++  1.0
int dim_wait ( void  )

Definition at line 409 of file dim_thr.c.

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

Referenced by dim_signal_cond(), DimRpcInfo::doIt(), dtq_sleep(), DimCurrentInfo::getData(), DimRpcInfo::getData(), main(), DimCmnd::send(), and set_register_wait().

410 {
411  pthread_t id;
412 
413  id = pthread_self();
414 
415  if((id == ALRM_thread) || (id == IO_thread))
416  {
417  return(-1);
418  }
419  /*
420 #ifndef darwin
421  sem_wait(&DIM_WAIT_Sema);
422 #else
423  sem_wait(DIM_WAIT_Semap);
424 #endif
425  */
426  dim_wait_cond();
427  return(-1);
428 }
void dim_wait_cond()
Definition: dim_thr.c:486
char id[4]
Definition: FITS.h:71
pthread_t IO_thread
Definition: dim_thr.c:18
pthread_t ALRM_thread
Definition: dim_thr.c:19

+ Here is the call graph for this function:

+ Here is the caller graph for this function: