10.33.61 pthread_mutex_trylock
¶
POSIX specification:
https://pubs.opengroup.org/onlinepubs/9799919799/functions/pthread_mutex_trylock.html
Gnulib module: pthread-mutex
Portability problems fixed by Gnulib:
- This function is missing on some platforms:
Minix 3.1.8, mingw, MSVC 14.
But the provided replacement is just a dummy on some of these platforms:
Minix 3.1.8.
Portability problems not fixed by Gnulib:
- This function does not behave as required by POSIX for mutexes of type
NORMAL and ERRORCHECK, by allowing RECURSIVE locking,
in programs linked without
-lpthread
on some platforms:
FreeBSD 14.0, NetBSD 10.0.