[lttng-dev] [PATCH] always check pthread_create for failures

2022-10-02 Thread Eric Wong via lttng-dev
pthread_create may fail with EAGAIN (which is no fault of the programmer), so don't allow the check to be compiled out. Signed-off-by: Eric Wong --- src/urcu-defer-impl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/urcu-defer-impl.h b/src/urcu-defer-impl.h index 1c9

Re: [lttng-dev] [PATCH] always check pthread_create for failures

2022-10-03 Thread Mathieu Desnoyers via lttng-dev
On 2022-10-02 12:13, Eric Wong via lttng-dev wrote: pthread_create may fail with EAGAIN (which is no fault of the programmer), so don't allow the check to be compiled out. Merged into master, stable-0.13, stable-0.12, thanks! Mathieu Signed-off-by: Eric Wong --- src/urcu-defer-impl.h | 3