Re:Don't setenv in multi-threaded code on glibc
by JdeBP on Wednesday February 01, 2017 @06:44AM
(#13539930)
> Why are we afraid to add new APIs that make some damn sense?
Speak for yourself. I implemented a Standard C library which guarded the environment, and various other global variables that the language requires that the library have, with mutexes. I did this in the early 1990s.
I am far from alone, as far as C library implementors go. Your "we" is actually a small number of people.
Speak for yourself. I implemented a Standard C library which guarded the environment, and various other global variables that the language requires that the library have, with mutexes. I did this in the early 1990s.
I am far from alone, as far as C library implementors go. Your "we" is actually a small number of people.