leezu opened a new pull request #19108:
URL: https://github.com/apache/incubator-mxnet/pull/19108


   Wait for async_fun to complete in NaiveEngine::PushAsync.
   
   This fixes a race condition in which NaiveEngine::PushAsync was checking if 
the
   the async_fun had completed by the end of NaiveEngine::PushAsync scope.
   
   If async_fun hadn't completed yet, NaiveEngine::PushAsync would set an 
internal error string
   and deallocate the callback, causing segfault in async_fun once it would 
attempt
   calling the callback.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to