Skip to content

Thread Safety

gershnik edited this page Apr 3, 2022 · 1 revision

All classes in Argum, notably the Parser class, provide standard Posix thread safety.

  • Non-const ("write") methods must not be called simultaneously from multiple threads.
  • Const ("read") methods can be safely called concurrently.

Given the expected usage of command line argument parsing - from the main thread in main function - this is largely academic, of course.