Prev Next | OpenBSD and Rthreads | Slide #20 |
original:
int thrsleep(void *ident, int timeout, void *lock);
int thrwakeup(void *ident, int n);
problems:
pthread sleeps are specified as absolute times, want to adjust if the realtime clock is shifted:
int thrsleep(void *ident, clockid_t clock_id, const struct timespec *abstime, void *lock);
EuroBSDCon 2012 | Copyright © 2012 Philip Guenther |