FACT++  1.0
void dim_unlock ( )

Definition at line 472 of file dim_thr.c.

Referenced by dim_signal_cond(), do_work(), StateMachineDim::UnLock(), and DataLogger::~DataLogger().

473 {
474  /*printf("Un-Locking %d ", pthread_self());*/
475  Dim_thr_counter--;
476  /*printf("Counter = %d ",Dim_thr_counter);*/
477  if(!Dim_thr_counter)
478  {
479  Dim_thr_locker=0;
480  pthread_mutex_unlock(&Global_DIM_mutex);
481  /*printf(": Un-Locked ");*/
482  }
483  /* printf("\n");*/
484 }
pthread_mutex_t Global_DIM_mutex
Definition: dim_thr.c:448
pthread_t Dim_thr_locker
Definition: dim_thr.c:441
int Dim_thr_counter
Definition: dim_thr.c:442

+ Here is the caller graph for this function: