dmitry-markeshov commented on issue #17653: A process crashes when trying to 
exit normally
URL: 
https://github.com/apache/incubator-mxnet/issues/17653#issuecomment-597152142
 
 
   After these changes process exits without crash:
   ```
   diff --git a/src/engine/threaded_engine_perdevice.cc 
b/src/engine/threaded_engine_perdevice.cc
   index bcb101e..adaf4c1 100644
   --- a/src/engine/threaded_engine_perdevice.cc
   +++ b/src/engine/threaded_engine_perdevice.cc
   @@ -55,7 +55,7 @@ class ThreadedEnginePerDevice : public ThreadedEngine {
        this->Start();
      }
      ~ThreadedEnginePerDevice() noexcept(false) {
   -    this->StopNoWait();
   +    this->Stop();
      }
    
      void StopNoWait() {
   ```
   
   Could someone explain why is there `StopNoWait` ?
   

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


With regards,
Apache Git Services

Reply via email to