News for hackers. Stuff that matters.
Re:C stdlib isn't threadsafe and even safe Rust didn't save us by kazinator on Thursday January 23, 2025 @07:56PM (#42809559)
That will break if any code which is not aware of the mutex calls getenv, even for a variable not related to the communication.
Re:C stdlib isn't threadsafe and even safe Rust didn't save us by liontwist on Thursday January 23, 2025 @11:42PM (#42810601)
Of course. It’s a bad idea. If you modify it the environemnt becomes a global var.