blob: 18e1adad4328e1e263e669618b72a5ed7e5da1a9 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#include <stddef.h>
2#include <sched.h>
3#include <bits/pthreadtypes.h>
4#include <internaltypes.h>
5
6--
7
8cond_lock offsetof (pthread_cond_t, __data.__lock)
9cond_futex offsetof (pthread_cond_t, __data.__futex)
10cond_nwaiters offsetof (pthread_cond_t, __data.__nwaiters)
11total_seq offsetof (pthread_cond_t, __data.__total_seq)
12wakeup_seq offsetof (pthread_cond_t, __data.__wakeup_seq)
13woken_seq offsetof (pthread_cond_t, __data.__woken_seq)
14dep_mutex offsetof (pthread_cond_t, __data.__mutex)
15broadcast_seq offsetof (pthread_cond_t, __data.__broadcast_seq)
16nwaiters_shift COND_NWAITERS_SHIFT