Use clockid parameter instead of hard-coded CLOCK_REALTIME.
Reported by: pjd
This commit is contained in:
parent
57c81ebaa2
commit
6cf6bbda47
@ -202,7 +202,7 @@ _thr_umtx_timedwait_uint(volatile u_int *mtx, u_int id, int clockid,
|
||||
tm_p = NULL;
|
||||
tm_size = 0;
|
||||
} else {
|
||||
timeout._clockid = CLOCK_REALTIME;
|
||||
timeout._clockid = clockid;
|
||||
timeout._flags = UMTX_ABSTIME;
|
||||
timeout._timeout = *abstime;
|
||||
tm_p = &timeout;
|
||||
|
Loading…
x
Reference in New Issue
Block a user