Lines Matching defs:Struct_LockInfo
91 typedef struct Struct_LockInfo { struct
92 void *context; /* Client context for creating locks */
93 void *thelock; /* The one big lock */
95 volatile int rcount; /* Number of readers holding lock */
96 volatile int wcount; /* Number of writers holding lock */
98 void *(*lock_create)(void *context);
99 void (*rlock_acquire)(void *lock);
100 void (*wlock_acquire)(void *lock);
101 void (*rlock_release)(void *lock);
102 void (*wlock_release)(void *lock);
103 void (*lock_destroy)(void *lock);
104 void (*context_destroy)(void *context);