[PATCH v3 1/6] nptl: Add clockid parameter to futex timed wait calls
Adhemerval Zanella
adhemerval.zanella@linaro.org
Thu Jun 6 12:06:00 GMT 2019
>> diff --git a/sysdeps/unix/sysv/linux/futex-internal.h b/sysdeps/unix/sysv/linux/futex-internal.h
>> index 501f993..03312d6 100644
>> --- a/sysdeps/unix/sysv/linux/futex-internal.h
>> +++ b/sysdeps/unix/sysv/linux/futex-internal.h
>> @@ -162,15 +162,24 @@ futex_reltimed_wait_cancelable (unsigned int *futex_word,
>>
>> /* See sysdeps/nptl/futex-internal.h for details. */
>> static __always_inline int
>> +futex_abstimed_supported_clockid (clockid_t clockid)
>> +{
>> + return lll_futex_supported_clockid (clockid);
>> +}
An addendum is to change it to return bool instead of int, since you using
with contraction checks on all patchset.
More information about the Libc-alpha
mailing list