You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/11/29 16:36:24 UTC

[GitHub] larroy edited a comment on issue #13438: libc getenv is not threadsafe

larroy edited a comment 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:
users@infra.apache.org


With regards,
Apache Git Services