larroy commented on issue #13438: libc getenv is not threadsafe
URL: 
https://github.com/apache/incubator-mxnet/issues/13438#issuecomment-444590769
 
 
   I would suggest using an atomic counter in pthread_atfork that is 
incremented whenever we create a thread.  In this way see how many threads we 
are creating and printing it out and comparing two runs with, and without the 
variables that I removed to see if there's any difference, that would be a 
quick check.

----------------------------------------------------------------
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