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-09 20:25:47 +02:00
2022-09-07 12:50:08 +02:00
2022-03-02 10:48:09 +00:00
2022-03-25 08:33:43 +01:00
2022-01-11 09:05:02 +01:00
2022-08-25 12:24:29 +02:00
2022-01-11 09:05:02 +01:00
2022-03-25 08:33:43 +01:00
2022-03-25 08:33:43 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-07-13 13:19:32 +02:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-08-25 12:24:25 +02:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-03-08 11:19:34 +01:00
2022-03-25 08:33:43 +01:00
2022-01-11 09:05:02 +01:00
2022-03-28 15:02:18 -07:00
2022-08-26 09:09:24 +02:00
2022-03-25 08:33:43 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-08-25 12:24:29 +02:00
2022-08-25 12:24:29 +02:00
2022-03-25 08:33:43 +01:00
2022-07-13 13:19:32 +02:00
2022-08-26 09:09:24 +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-08-26 09:09:24 +02:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-09-02 08:16:17 +00:00
2022-01-11 09:05:02 +01:00
2022-07-13 13:19:32 +02:00
2022-07-13 13:19:32 +02:00
2022-01-11 09:05:02 +01:00
2022-03-25 08:33:43 +01:00
2022-03-25 08:33:43 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-05-23 18:25:18 +03:00
2022-05-23 18:25:18 +03:00
2022-01-11 09:05:02 +01:00
2022-03-25 08:33:43 +01:00
2022-01-11 09:05:02 +01:00
2022-03-25 08:33:43 +01:00
2022-07-05 12:22:55 -07:00
2022-01-11 09:05:02 +01:00
2022-04-25 15:18:58 +01:00
2022-08-25 17:17:07 +02:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-03-28 15:32:30 +03:00
2022-07-13 13:19:32 +02:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-08-25 12:24:29 +02:00
2022-03-25 08:33:43 +01:00
2022-03-25 08:33:43 +01:00
2022-02-10 17:18:09 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-03-25 08:33:43 +01:00
2022-01-11 09:05:02 +01:00
2022-08-26 09:09:24 +02:00
2022-05-28 14:53:02 -07:00
2022-09-09 20:25:47 +02:00
2022-08-25 12:24:29 +02:00
2022-03-25 08:33:43 +01:00
2022-08-26 09:09:24 +02:00
2022-01-11 09:05:02 +01:00
2022-07-05 12:22:55 -07:00
2022-03-25 08:33:43 +01:00
2022-01-11 09:05:02 +01:00
2022-08-25 12:24:29 +02:00
2022-03-25 08:33:43 +01:00
2022-01-11 09:05:02 +01:00
2022-05-04 12:31:46 +02:00
2022-08-25 12:24:29 +02:00