FACT++  1.0
void dim_lock ( )

Definition at line 445 of file dim_thr_old.c.

Referenced by dim_signal_cond().

446 {
447  /*printf("Locking %d ", pthread_self());*/
448  if(Dim_thr_locker != pthread_self())
449  {
450  pthread_mutex_lock(&Global_DIM_mutex);
451  Dim_thr_locker=pthread_self();
452  /*printf(": Locked ");*/
453  }
454  /*printf("Counter = %d\n",Dim_thr_counter);*/
455  Dim_thr_counter++;
456 }
int Dim_thr_counter
Definition: dim_thr_old.c:434
pthread_t Dim_thr_locker
Definition: dim_thr_old.c:433
pthread_mutex_t Global_DIM_mutex
Definition: dim_thr_old.c:440

+ Here is the caller graph for this function: