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