Lukasz Majewski
47f78f3683
y2038: Convert gai_suspend to support 64 bit time
...
This change uses (in gai_misc.h):
- __futex_abstimed_wait64 (instead of futex_reltimed_wait)
- __futex_abstimed_wait_cancellable64
(instead of futex_reltimed_wait_cancellable)
from ./sysdeps/nptl/futex-helpers.h
The gai_suspend() accepts relative timeout, which then is converted to
absolute one.
The i686-gnu port (HURD) do not define DONT_NEED_GAI_MISC_COND and as it
doesn't (yet) support 64 bit time it uses not converted
pthread_cond_timedwait().
The __gai_suspend() is supposed to be run on ports with __TIMESIZE !=64 and
__WORDSIZE==32. It internally utilizes __gai_suspend_time64() and hence the
conversion from 32 bit struct timespec to 64 bit one is required.
For ports supporting 64 bit time the __gai_suspend_time64() will be used
either via alias (to __gai_suspend when __TIMESIZE==64) or redirection
(when -D_TIME_BITS=64 is passed).
Build tests:
./src/scripts/build-many-glibcs.py glibcs
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
2020-12-04 10:04:38 +01:00
..
2019-01-21 21:26:03 +01:00
2020-10-27 09:54:50 -03:00
2020-01-01 00:14:33 +00:00
2020-07-21 07:33:20 +02:00
2020-04-27 10:34:52 -04:00
2020-07-21 07:33:20 +02:00
2020-07-08 17:25:57 +02:00
2020-11-11 23:56:56 +00:00
2020-11-30 14:08:44 +01:00
2020-07-08 17:25:57 +02:00
2020-01-01 00:14:33 +00:00
2018-06-27 19:20:37 +02:00
2020-01-01 00:14:33 +00:00
2019-02-16 08:25:16 +01:00
2017-10-01 15:10:27 -07:00
2019-03-01 15:21:32 -03:00
2018-02-15 21:00:02 +00:00
2020-01-01 00:14:33 +00:00
2017-10-03 01:33:38 +02:00
2020-01-01 00:14:33 +00:00
2017-05-15 10:23:28 -03:00
2016-10-28 22:40:16 -04:00
2018-02-23 13:54:53 +00:00
2020-11-11 02:36:22 +01:00
2020-07-08 17:25:57 +02:00
2017-09-26 16:53:44 -07:00
2019-06-18 16:42:10 +02:00
2016-09-23 08:43:56 -04:00
2020-03-25 14:34:23 -05:00
2020-11-13 12:59:19 -03:00
2019-03-01 15:26:36 -03:00
2016-09-23 08:43:56 -04:00
2018-06-26 13:22:53 -03:00
2020-08-04 22:17:00 -04:00
2018-09-04 19:52:06 +00:00
2020-02-18 13:44:48 +01:00
2019-08-15 15:18:34 +00:00
2017-10-01 17:52:15 -07:00
2019-02-16 08:25:16 +01:00
2019-02-16 08:25:16 +01:00
2017-04-07 07:45:53 -04:00
2017-10-01 18:02:10 -07:00
2017-10-01 15:15:30 -07:00
2020-01-01 00:14:33 +00:00
2016-04-29 22:18:21 -04:00
2020-07-21 07:33:20 +02:00
2020-07-21 07:33:20 +02:00
2017-09-28 01:05:18 +02:00
2017-10-01 17:35:46 -07:00
2020-01-01 00:14:33 +00:00
2020-02-15 11:01:23 +01:00
2020-08-04 22:58:58 -07:00
2019-03-13 09:42:09 -04:00
2019-02-16 08:25:16 +01:00
2020-01-01 00:14:33 +00:00
2020-11-11 02:36:22 +01:00
2020-01-01 00:14:33 +00:00
2020-12-04 10:04:38 +01:00
2020-05-06 17:35:40 +02:00
2020-08-19 22:46:41 +00:00
2020-10-08 17:12:28 +02:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-02-15 11:01:23 +01:00
2020-01-01 00:14:33 +00:00
2020-05-04 13:18:45 -05:00
2016-09-23 08:43:56 -04:00
2017-10-01 17:37:42 -07:00
2020-04-30 08:52:08 -05:00
2020-04-06 23:05:11 +02:00
2020-12-04 10:04:38 +01:00
2020-07-21 07:33:50 +02:00
2017-11-23 14:08:11 +01:00
2016-09-23 08:43:56 -04:00
2017-10-01 17:31:05 -07:00
2020-04-30 08:52:08 -05:00
2015-06-17 20:16:56 +00:00
2016-09-23 08:43:56 -04:00
2020-07-21 07:33:20 +02:00
2020-05-20 16:45:16 +02:00
2019-02-16 08:25:16 +01:00
2017-10-01 15:53:15 -07:00
2019-02-16 08:25:16 +01:00
2017-11-22 22:21:10 +00:00
2020-01-01 00:14:33 +00:00
2020-10-08 11:00:42 +02:00
2020-02-20 08:57:01 +01:00
2020-01-01 00:14:33 +00:00
2019-05-02 11:42:51 +02:00
2020-01-01 00:14:33 +00:00
2020-11-11 02:36:22 +01:00
2020-07-21 07:33:20 +02:00
2020-07-13 19:36:35 +02:00
2020-11-11 02:36:22 +01:00
2019-10-09 17:48:41 -03:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2020-01-01 00:14:33 +00:00
2019-03-13 09:42:09 -04:00
2016-09-23 08:43:56 -04:00
2020-07-21 07:34:50 +02:00
2020-11-11 02:36:22 +01:00
2020-11-11 02:36:22 +01:00
2020-10-27 09:54:50 -03:00
2020-04-06 23:05:11 +02:00
2020-05-05 19:36:25 +02:00
2017-10-01 17:48:24 -07:00
2020-10-19 16:01:37 +02:00
2016-09-23 08:43:56 -04:00
2020-11-11 02:36:22 +01:00
2017-10-01 15:51:56 -07:00
2020-01-01 00:14:33 +00:00
2019-11-06 09:20:52 -03:00
2019-02-16 08:25:16 +01:00
2020-04-30 08:52:08 -05:00
2017-06-08 13:58:17 -04:00