MCPcopy Create free account
hub / github.com/apache/arrow / TriggerSignal

Method TriggerSignal

cpp/src/arrow/util/cancel_test.cc:184–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182
183#ifdef _WIN32
184 void TriggerSignal() {
185 std::thread([]() { ASSERT_OK(internal::SendSignal(SIGINT)); }).detach();
186 }
187#else
188 // On Unix, use setitimer() to exercise signal-async-safety
189 void TriggerSignal() { SetITimer(0.0001); }

Callers

nothing calls this directly

Calls 2

SendSignalFunction · 0.85
SetITimerFunction · 0.85

Tested by

no test coverage detected