zephyr/lib/posix
Paul Sokolovsky 5b3df8a180 posix: pthread_create: Ignore retval of pthread_mutex_init() calls
pthread_mutex_init() just redirects to Zephyr kernel primitive, for
initializing structure fields. So, use the knowledge that it can't
fail (for as long as structure pointer is initialized, and here it's
from pre-allocated array), and ignore return value of
pthread_mutex_init()

Coverity-CID: 203542
Fixes: #18371

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2019-08-21 07:26:59 -05:00
..
clock.c posix: Fix calculation of clock base in clock_settime 2019-05-21 08:24:59 -04:00
CMakeLists.txt lib: posix: Switch to use zephyr_interface_library_named cmake directive 2019-08-08 14:31:35 +02:00
fs.c cleanup: include/: move misc/fdtable.h to sys/fdtable.h 2019-06-27 22:55:49 -04:00
Kconfig lib: posix: Switch to use zephyr_interface_library_named cmake directive 2019-08-08 14:31:35 +02:00
mqueue.c cleanup: include/: move atomic.h to sys/atomic.h 2019-06-27 22:55:49 -04:00
pthread_barrier.c
pthread_common.c
pthread_cond.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
pthread_key.c
pthread_mutex.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
pthread_rwlock.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
pthread_sched.c
pthread.c posix: pthread_create: Ignore retval of pthread_mutex_init() calls 2019-08-21 07:26:59 -05:00
semaphore.c
sleep.c
timer.c cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00