diff options
Diffstat (limited to 'lib/libthr/thread/thr_umtx.c')
-rw-r--r-- | lib/libthr/thread/thr_umtx.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libthr/thread/thr_umtx.c b/lib/libthr/thread/thr_umtx.c index 7529c85..8a8c908 100644 --- a/lib/libthr/thread/thr_umtx.c +++ b/lib/libthr/thread/thr_umtx.c @@ -105,6 +105,12 @@ _thr_umtx_wake(volatile umtx_t *mtx, int nr_wakeup) return (errno); } +void +_thr_ucond_init(struct ucond *cv) +{ + bzero(cv, sizeof(struct ucond)); +} + int _thr_ucond_wait(struct ucond *cv, struct umutex *m, const struct timespec *timeout, int check_unparking) |