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