Hacker News new | ask | show | jobs
by davidt84 504 days ago
Nevertheless, https://en.cppreference.com/w/cpp/utility/program/getenv
1 comments

Interesting. So in a multi-threaded C++ program that only calls the std:: getenv function, everything is fine.

If anything calls the C getenv function, like a third party library, things are maybe not fine.