Use clockid parameter instead of hard-coded CLOCK_REALTIME.
Reported by: pjd
This commit is contained in:
parent
bca1cc1fd2
commit
81cd726a95
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=233134
@ -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…
Reference in New Issue
Block a user