Richard Levitte f352c808ed For Unix, refactor OSSL_sleep() to use nanosleep() instead of usleep()
usleep() is obsolete since POSIX.1-2001 and removed in POSIX.1-2008,
in favor of nanosleep(), which has been present since POSIX.1-2001.

The exceptions for DJGPP and TANDEM are preserved.  Also, just in case
nanosleep() turns out to be unavailable on any Unix machinery that we
are unaware of, we allow a revert to using usleep() by defining
OPENSSL_USE_USLEEP.

Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24173)
2024-05-22 09:59:32 +02:00
..
2024-04-10 09:24:15 +02:00
2022-05-03 13:34:51 +01:00
2023-09-07 09:59:15 +01:00
2019-04-19 09:31:54 +01:00
2023-06-18 16:53:09 +10:00
2021-09-02 12:55:39 +10:00
2020-11-18 11:40:52 +01:00
2023-09-07 09:59:15 +01:00
2020-04-23 13:55:52 +01:00
2023-03-06 08:00:58 +11:00
2023-10-24 17:34:07 +01:00
2019-09-19 09:27:38 -04:00
2023-09-07 09:59:15 +01:00
2024-04-09 13:43:26 +02:00
2021-04-08 13:04:41 +01:00
2023-09-07 09:59:15 +01:00
2023-11-15 08:22:29 +01:00
2022-12-08 07:01:33 +01:00
2024-05-09 10:50:42 +02:00
2023-03-08 12:29:22 +01:00