aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src
diff options
context:
space:
mode:
authorTor Egge <tegge@vespa.ai>2024-05-21 10:20:15 +0200
committerTor Egge <tegge@vespa.ai>2024-05-21 10:20:15 +0200
commit5dd8ab061490779f56610c0da30d6ebb3f817b60 (patch)
treea8d44572b79a198ddffbc2e7c555338d617cfed4 /searchcore/src
parent2b08f380d52c7c5b5e5678f5f582fb93647c2529 (diff)
Use std::_Exit instead of std::quick_exit.
Diffstat (limited to 'searchcore/src')
-rw-r--r--searchcore/src/vespa/searchcore/proton/server/rpc_hooks.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/rpc_hooks.cpp b/searchcore/src/vespa/searchcore/proton/server/rpc_hooks.cpp
index d4ae635d760..c72a4eaf352 100644
--- a/searchcore/src/vespa/searchcore/proton/server/rpc_hooks.cpp
+++ b/searchcore/src/vespa/searchcore/proton/server/rpc_hooks.cpp
@@ -8,6 +8,7 @@
#include <vespa/fnet/frt/require_capabilities.h>
#include <vespa/fnet/frt/supervisor.h>
#include <vespa/fnet/transport.h>
+#include <cstdlib>
#include <vespa/log/log.h>
LOG_SETUP(".proton.server.rtchooks");
@@ -249,7 +250,7 @@ RPCHooksBase::rpc_die(FRT_RPCRequest * req)
LOG(debug, "Nap for 10ms and then quickly exit.");
req->Return();
std::this_thread::sleep_for(10ms);
- std::quick_exit(0);
+ std::_Exit(0);
}));
}