virtual void stop() override { PARENT::stop(); if (queryInputStarted(0)) { if (!executeDependencies(abortSoon ? WhenFailureId : WhenSuccessId)) abortSoon = true; } }
virtual void stop() override { if (output) { output->stop(); output.clear(); } if (queryInputStarted(0)) { ActPrintLog("SORT waiting barrier.2"); barrier->wait(false); ActPrintLog("SORT barrier.2 raised"); } PARENT::stop(); if (queryInputStarted(0)) { ActPrintLog("SORT waiting for merge"); sorter->stopMerge(); } dataLinkStop(); }