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
..
2021-03-09 23:18:28 +08:00
2021-03-04 17:17:41 -06:00
2021-02-25 11:31:49 -08:00
2020-06-04 22:20:45 +01:00
2021-02-09 01:21:53 -08:00
2021-02-09 01:21:53 -08:00
2020-06-30 10:54:42 -06:00
2021-02-09 01:21:53 -08:00
2021-03-09 23:18:28 +08:00
2021-02-25 11:31:49 -08:00
2021-03-05 20:35:22 +08:00
2021-02-09 01:21:53 -08:00
2021-02-09 01:21:53 -08:00
2021-03-05 20:35:22 +08:00
2021-03-04 17:17:41 -06:00
2021-03-31 21:13:01 -05:00
2021-02-09 01:21:53 -08:00
2021-01-13 08:57:58 +01:00
2021-02-09 01:21:53 -08:00
2021-02-09 01:21:53 -08:00
2021-03-05 20:35:22 +08:00
2020-06-15 07:09:51 -06:00
2021-02-09 01:21:53 -08:00
2021-02-09 01:21:53 -08:00
2021-03-05 20:35:22 +08:00
2021-01-13 08:57:58 +01:00
2021-01-13 08:57:58 +01: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-09 23:18:28 +08:00
2021-02-09 01:21:53 -08:00