zephyr/lib/posix
Ramakrishna Pallala bcdfa76ff3 lib: posix: Fix pthread_attr_init() return code
pthread_attr_init() should not return EBUSY as per POSIX spec
so fixed this by return ENOMEM if the attr pointer is NULL.

Also fixed the attribute initialization logic by copying the
init_pthread_attrs to the attr.

Fixes Issue #7480

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
2018-05-16 23:15:21 +03:00
..
CMakeLists.txt
Kconfig
clock.c
mqueue.c lib: posix: mqueue: Minor formatting cleanups 2018-04-21 06:56:27 -07:00
pthread.c lib: posix: Fix pthread_attr_init() return code 2018-05-16 23:15:21 +03:00
pthread_barrier.c kernel, posix: Move ready_one_thread() to scheduler 2018-04-24 03:57:20 +05:30
pthread_common.c lib: posix: pthread_common: Fix potential integer overflow issue 2018-04-30 06:49:42 -04:00
pthread_cond.c kernel, posix: Move ready_one_thread() to scheduler 2018-04-24 03:57:20 +05:30
pthread_mutex.c
pthread_rwlock.c
pthread_sched.c
semaphore.c
sleep.c
timer.c lib: posix: Fix integer overflow in timer_gettime 2018-04-05 16:43:05 -04:00