Browse Source
SIGINT on Linux can be delivered to any thread (not just worker). signal_handler uses g_currentNode->requestStop(); with thread_local, g_currentNode was nullptr in non-worker threads — Ctrl-C did nothing. Removing thread_local fixes signal delivery: g_currentNode is set once before signal handler is registered, pointer read is atomic on x86/x64.topo_upd
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue