18 #ifndef GLOBUS_THREAD_RW_MUTEX_H
19 #define GLOBUS_THREAD_RW_MUTEX_H 1
31 struct globus_i_rw_mutex_waiter_s * waiters;
32 struct globus_i_rw_mutex_waiter_s ** tail;
33 struct globus_i_rw_mutex_waiter_s * idle;
38 typedef int globus_rw_mutexattr_t;
42 globus_rw_mutex_t * rw_lock,
43 globus_rw_mutexattr_t * attr);
46 globus_rw_mutex_readlock(
47 globus_rw_mutex_t * rw_lock);
50 globus_rw_mutex_writelock(
51 globus_rw_mutex_t * rw_lock);
54 globus_rw_mutex_readunlock(
55 globus_rw_mutex_t * rw_lock);
58 globus_rw_mutex_writeunlock(
59 globus_rw_mutex_t * rw_lock);
62 globus_rw_mutex_destroy(
63 globus_rw_mutex_t * rw_lock);
78 globus_rw_mutex_t * rw_lock);
81 globus_rw_cond_timedwait(
83 globus_rw_mutex_t * rw_lock,
84 globus_abstime_t * abstime);
Globus Threading Abstraction.
int globus_bool_t
Boolean type.
Definition: globus_types.h:93
Mutex.
Definition: globus_thread.h:107
Condition variable.
Definition: globus_thread.h:124