larroy commented on issue #13438: libc getenv is not threadsafe
URL: 
https://github.com/apache/incubator-mxnet/issues/13438#issuecomment-442902289
 
 
   as you said, what about libraries like openmp which might access the 
environment variable without a lock.  We could try monkey patching getenv with 
our own wrapper at link time or runtime. Best is not to use setenv after we 
have multiple threads running.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to