In discussions with the Jeff and Keno it appears this happens in Windows because there are several environment stores in Windows, and the threads are created by reading with getenv (which access the machine level environment), while later in Julia the ENV is retrieved using getenvw (which access the process level environment).
The following c# code...
Produces the following output
In discussions with the Jeff and Keno it appears this happens in Windows because there are several environment stores in Windows, and the threads are created by reading with
getenv
(which access the machine level environment), while later in Julia theENV
is retrieved usinggetenvw
(which access the process level environment).