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
..
2020-07-27 20:39:59 -03:00
2020-06-15 21:21:14 +01:00
2020-06-17 13:18:30 -03:00
2021-02-09 01:21:53 -08:00
2021-02-09 01:21:53 -08:00
2021-03-19 23:01:20 -07:00
2020-05-17 14:01:00 -03:00
2020-04-06 00:13:05 +01:00
2021-03-31 21:13:01 -05:00
2021-02-09 01:21:53 -08:00
2021-02-09 01:21:53 -08:00
2021-02-09 01:21:53 -08:00
2021-02-09 01:21:53 -08:00
2021-02-09 01:21:53 -08:00
2021-03-03 08:21:04 +00:00
2020-11-10 19:41:46 -08:00
2021-02-09 01:21:53 -08:00
2020-06-15 07:16:21 -06:00
2020-05-09 14:19:08 -03:00
2020-05-09 14:19:08 -03:00
2021-02-09 01:21:53 -08:00
2020-05-17 14:01:00 -03:00
2021-02-09 01:21:53 -08:00
2020-05-09 14:19:08 -03:00
2021-02-09 01:21:53 -08:00
2021-02-09 01:21:53 -08:00
2020-11-22 19:01:05 -08:00
2020-05-09 14:19:08 -03:00
2020-05-09 14:19:08 -03:00
2021-02-09 01:21:53 -08:00
2021-03-03 08:21:04 +00:00