patacongo commented on pull request #3170: URL: https://github.com/apache/incubator-nuttx/pull/3170#issuecomment-806355835
> btw, strictly speaking, this should be per-process (task group?) instead of per-thread. > probably it doesn't matter for usual usage patterns of this api though. Yes, but since only the main thread has argc and argv it is kind of hard coming up with a scenario where a pthread would call getopt(). Certainly, you could design a thread that does that. It is just not something you would expect to see often. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
