Files
bind9/lib/isc
Michał Kępień 3b1c80fd0f Fix error reporting for POSIX Threads functions
Commit 3608abc8fa inadvertently carried
over a mistake in logging pthread_cond_init() errors to the
ERRNO_CHECK() preprocessor macro: instead of passing the value returned
by a given pthread_*() function to strerror_r(), ERRNO_CHECK() passes
the errno variable to strerror_r().  This causes bogus error reports
because POSIX Threads API functions do not set the errno variable.

Fix by passing the value returned by a given pthread_*() function
instead of the errno variable to strerror_r().  Since this change makes
the name of the affected macro (ERRNO_CHECK()) confusing, rename the
latter to PTHREADS_RUNTIME_CHECK().  Also log the integer error value
returned by a given pthread_*() function verbatim to rule out any
further confusion in runtime error reporting.
2022-09-09 20:25:47 +02:00
..
2022-09-07 12:50:08 +02:00
2022-08-25 12:24:29 +02:00
2022-08-25 12:24:25 +02:00
2022-03-28 15:02:18 -07:00
2022-08-25 12:24:29 +02:00
2022-08-25 12:24:29 +02:00
2022-08-25 12:24:29 +02:00
2022-08-25 12:24:29 +02:00
2022-08-26 09:09:25 +02:00
2022-07-13 13:19:32 +02:00
2022-07-05 12:22:55 -07:00
2022-08-25 12:24:29 +02:00
2022-08-25 12:24:29 +02:00
2022-07-05 12:22:55 -07:00
2022-08-25 12:24:29 +02:00
2022-08-25 12:24:29 +02:00