nuttx/sched
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
..
clock Fix typos reported by codespell 2021-02-25 11:31:49 -08:00
environ sched: nxstyle fixes 2021-02-09 01:21:53 -08:00
group Move getopt() variables into TLS 2021-03-31 21:13:01 -05:00
init mm/heap: Move semaphore related declaration to private header 2021-03-22 15:35:32 +01:00
irq sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
module sched/module/mod_insmod.c: Fix ELF64-related printf formats 2021-03-23 02:48:42 -07:00
mqueue sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
paging sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
pthread Move getopt() variables into TLS 2021-03-31 21:13:01 -05:00
sched Correct elapsed time calculation 2021-03-19 23:18:28 -07:00
semaphore sched: semaphore: Remove a redundant critical section in nxsem_tickwait() 2021-03-16 19:50:18 -07:00
signal sched/signal: Implement SA_NODEFER and SA_RESETHAND 2021-03-31 18:27:01 -03:00
task Move getopt() variables into TLS 2021-03-31 21:13:01 -05:00
timer sched/timer: get the previous reload value correctly 2021-01-26 18:22:54 -08:00
wdog sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
wqueue sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
Kconfig sched: Move the default Task Stack size to Stack menu 2021-03-31 02:29:04 -05:00
Makefile style/Makefile: remove unnecessary trailing whitespace 2020-11-28 12:20:30 +01:00