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