10.66.6 cnd_timedwait
¶
ISO C23 specification:
https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3220.pdf section 7.28.3.5.
POSIX specification:
https://pubs.opengroup.org/onlinepubs/9799919799/functions/cnd_timedwait.html
Documentation:
https://www.gnu.org/software/libc/manual/html_node/ISO-C-Condition-Variables.html.
Gnulib module: cnd
Portability problems fixed by Gnulib:
- This function is missing on many platforms:
glibc 2.27, macOS 14, FreeBSD 9.3, NetBSD 8.0, OpenBSD 7.5, Minix 3.1.8, AIX 7.1, HP-UX 11.31, Solaris 11.3, Cygwin 3.1.x, mingw, MSVC 14, Android API level 29.
Portability problems not fixed by Gnulib:
- This function sometimes waits indefinitely
instead of up to the specified time point,
on some platforms (glibc/Linux, musl libc) in some hypervisors:
VirtualBox 6.1.50_Ubuntu with paravirtualization set to "Default" or "KVM".