Y
Hacker News
new
|
ask
|
show
|
jobs
by
Orangeair
399 days ago
It's a long standing bug, setenv and unsetenv are not thread-safe
https://www.evanjones.ca/setenv-is-not-thread-safe.html
1 comments
robertlagrant
399 days ago
I honestly think using setenv is just a terrible idea.
link
ak_111
398 days ago
can you elaborate what is the simpelist alternative?
link
darthwalsh
398 days ago
Simple, you don't set any env vars after starting new threads
link