3 ms·(ignore this comment)by ambrop7 10y ago(ignore this comment)jjnoakes 10y agoThe issue has nothing to do with fork or exec; if you have two threads in a process, and one calls setenv() while another calls getenv(), you can hit this issue.ambrop7 10y agoAh, right, seems like I have mistaken the first paragraph as a summary of the post.