FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
void dim_wait_cond
(
)
Definition at line
486
of file
dim_thr.c
.
Referenced by
dim_wait()
.
487
{
488
pthread_mutex_lock(&
Global_cond_mutex
);
489
Global_cond_waiters
++;
490
if
(!
Global_cond_counter
)
491
{
492
pthread_cond_wait(&
Global_cond
, &
Global_cond_mutex
);
493
}
494
Global_cond_waiters
--;
495
if
(!
Global_cond_waiters
)
496
Global_cond_counter
--;
497
pthread_mutex_unlock(&
Global_cond_mutex
);
498
}
Global_cond_waiters
int Global_cond_waiters
Definition:
dim_thr.c:453
Global_cond
pthread_cond_t Global_cond
Definition:
dim_thr.c:450
Global_cond_mutex
pthread_mutex_t Global_cond_mutex
Definition:
dim_thr.c:449
Global_cond_counter
int Global_cond_counter
Definition:
dim_thr.c:452
Here is the caller graph for this function:
dim
src
dim_thr.c
Generated on Sun Sep 18 2016 20:50:29 for FACT++ by
1.8.11