zephyr/lib/posix
Nicholas Lowell 17b19eb810 pthread: add setname/getname glibc extensions
Adding the ability to set and get pthread names by defining
some non-standard extension functions that were first
introduced by Glibc.

Similar to zephyr thread naming, these allow for thread
tracking and debugging even when using the more portable
posix API.

Though Glibc was the originator, the current POSIX functions
have return codes based on Oracle's adopted spec, so these
functions follow suit.  The Oracle and Glibc function
prototypes match.

Signed-off-by: Nicholas Lowell <nlowell@lexmark.com>
2020-03-10 15:15:34 +02:00
..
CMakeLists.txt headers: Refactor kernel and arch headers. 2019-11-06 16:07:32 -08:00
Kconfig kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
clock.c lib: posix: clock: Fix nanosecond rollover logic 2020-02-15 23:09:43 +03:00
fs.c posix: fs: ZFD_IOCTL_CLOSE: Be sure to call posix_fs_free_obj() 2019-08-27 10:34:54 -04:00
mqueue.c
pthread.c pthread: add setname/getname glibc extensions 2020-03-10 15:15:34 +02:00
pthread_barrier.c
pthread_common.c lib: posix: Fix undefined reference to clock_gettime() 2020-03-10 14:57:16 +02:00
pthread_cond.c global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
pthread_key.c
pthread_mutex.c kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
pthread_rwlock.c global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
pthread_sched.c
semaphore.c
sleep.c
timer.c global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00