nuttx/sched/pthread
Gregory Nutt 2ccc0da0c7 Move getopt() variables into TLS
getopt() in the FLAT build environment is not thread safe.  This is because global variables that are process-specific in Unix are truly global in the FLAT build.  Moving the getopt() variables into TLS resolves this issue.

No side-effects are expected other than to getopt()

Tested with sim:nsh
2021-03-31 21:13:01 -05:00
..
Make.defs
pthread_cancel.c
pthread_cleanup.c
pthread_completejoin.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
pthread_condbroadcast.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
pthread_condclockwait.c sched: pthread: Remove a redundant critical section in pthread_condclockwsait.c 2021-03-19 23:01:20 -07:00
pthread_condsignal.c
pthread_condwait.c
pthread_create.c Move getopt() variables into TLS 2021-03-31 21:13:01 -05:00
pthread_detach.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
pthread_exit.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
pthread_findjoininfo.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
pthread_getaffinity.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
pthread_getschedparam.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
pthread_initialize.c Remove the empty xxx_initialize functions 2021-03-03 08:21:04 +00:00
pthread_join.c
pthread_kill.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
pthread_mutex.c
pthread_mutexconsistent.c
pthread_mutexdestroy.c
pthread_mutexinconsistent.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
pthread_mutexinit.c
pthread_mutextimedlock.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
pthread_mutextrylock.c
pthread_mutexunlock.c sched: nxstyle fixes 2021-02-09 01:21:53 -08:00
pthread_release.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
pthread_setaffinity.c sched/pthread/pthread_setaffinity.c: Fix a syslog format 2020-11-22 19:01:05 -08:00
pthread_setschedparam.c
pthread_setschedprio.c
pthread_sigmask.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
pthread.h Remove the empty xxx_initialize functions 2021-03-03 08:21:04 +00:00