mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 08:35:31 +00:00
Related to #7305 Update SIGINT signal handler to use `sigaction` with `SA_ONSTACK` flag. * Replace `signal` function with `sigaction` function in `src/util/scoped_ctrl_c.cpp` to register the SIGINT handler. * Set the `SA_ONSTACK` flag for the SIGINT signal handler in `src/util/scoped_ctrl_c.cpp`. * Update `on_ctrl_c` function to use `sigaction` in `src/util/scoped_ctrl_c.cpp`. * Modify `scoped_ctrl_c` struct in `src/util/scoped_ctrl_c.h` to include `struct sigaction m_old_action` instead of `void (STD_CALL *m_old_handler)(int)`. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Z3Prover/z3/issues/7305?shareId=XXXX-XXXX-XXXX-XXXX). |
||
---|---|---|
.. | ||
ackermannization | ||
api | ||
ast | ||
cmd_context | ||
math | ||
model | ||
muz | ||
nlsat | ||
opt | ||
params | ||
parsers | ||
qe | ||
sat | ||
shell | ||
smt | ||
solver | ||
tactic | ||
test | ||
util | ||
CMakeLists.txt |