2003-03-10 16:50:26 +08:00
|
|
|
#include <stddef.h>
|
2004-09-03 02:59:24 +08:00
|
|
|
#include <sched.h>
|
2003-03-10 16:50:26 +08:00
|
|
|
#include <bits/pthreadtypes.h>
|
2004-09-03 02:59:24 +08:00
|
|
|
#include <internaltypes.h>
|
2003-03-10 16:50:26 +08:00
|
|
|
|
|
|
|
--
|
|
|
|
|
|
|
|
cond_lock offsetof (pthread_cond_t, __data.__lock)
|
2004-06-04 00:04:11 +08:00
|
|
|
cond_futex offsetof (pthread_cond_t, __data.__futex)
|
2004-09-03 02:59:24 +08:00
|
|
|
cond_nwaiters offsetof (pthread_cond_t, __data.__nwaiters)
|
2003-03-10 16:50:26 +08:00
|
|
|
total_seq offsetof (pthread_cond_t, __data.__total_seq)
|
|
|
|
wakeup_seq offsetof (pthread_cond_t, __data.__wakeup_seq)
|
|
|
|
woken_seq offsetof (pthread_cond_t, __data.__woken_seq)
|
2003-05-26 10:47:39 +08:00
|
|
|
dep_mutex offsetof (pthread_cond_t, __data.__mutex)
|
2004-05-19 04:18:14 +08:00
|
|
|
broadcast_seq offsetof (pthread_cond_t, __data.__broadcast_seq)
|
2007-05-30 00:15:48 +08:00
|
|
|
nwaiters_shift COND_NWAITERS_SHIFT
|