Skip to content
Snippets Groups Projects
Commit ac08cc6f authored by Avi Kivity's avatar Avi Kivity
Browse files

core: add signal catching mechanism


Add a signal catching class (signal_catcher).

Use signal_catcher::wait() to wait for a signal.
Use sched::thread::wait_for(..., signal_catcher&, ...) to wait for a signal
in addition to other events.

Signed-off-by: default avatarAvi Kivity <avi@cloudius-systems.com>
parent c32caaca
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment