123456789101112131415161718192021222324252627282930 |
- #include "pthreadP.h"
- int
- pthread_condattr_getclock (
- const pthread_condattr_t *attr,
- clockid_t *clock_id)
- {
- *clock_id = (((((const struct pthread_condattr *) attr)->value) >> 1)
- & ((1 << COND_NWAITERS_SHIFT) - 1));
- return 0;
- }
|