*
*/
/*
- Copyright (C) 2000, 2001, 2002 Kern Sibbald and John Walker
+ Copyright (C) 2000-2003 Kern Sibbald and John Walker
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
int w_wait; /* writers waiting */
} brwlock_t;
+typedef struct s_rwsteal_tag {
+ pthread_t writer_id; /* writer's thread id */
+ int state;
+} brwsteal_t;
+
+
#define RWLOCK_VALID 0xfacade
#define RWL_INIIALIZER \