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 2020/03/10 15:33:41 UTC

[GitHub] [incubator-mxnet] dmitry-markeshov commented on issue #17653: A process crashes when trying to exit normally

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:
users@infra.apache.org


With regards,
Apache Git Services