[PATCH v3 0/6] remove check around pthread_mutex_init()
Stephen Hemminger
stephen at networkplumber.org
Mon Jan 13 20:11:41 CET 2025
On Sun, 12 Jan 2025 21:20:15 +0100
Ariel Otilibili <otilibil at eurecom.fr> wrote:
> Hello,
>
> This series addresses Bugzilla ID 1586; the man says
>
> > pthread_mutex_init always returns 0. The other mutex functions
> > return 0 on success and a non-zero error code on error.
>
> Meaning, the check around around pthread_mutex_init() is needless.
>
> Thank you,
>
> Link: https://man7.org/linux/man-pages/man3/pthread_mutex_lock.3.html
> Bugzilla ID: 1586
LGTM
Series-Acked-by: Stephen Hemminger <stephen at networkplumber.org>
More information about the dev
mailing list