#include <pthread_jail.h>
Data Fields | |
pthread_mutex_t | lock |
structure lock | |
pthread_cond_t | search_cond |
search condition | |
pthread_cond_t | lock_cond |
lock condition | |
int | visit_count |
number of visitors | |
int | search_count |
number of searchers | |
int | search_wait |
number of searchers waiting | |
int | lock_count |
number of lockers | |
int | lock_wait |
number of lockers waiting |