|
Goby3 3.6.1
2026.09.15
|
Installs the quit-on-signal handlers for the duration of a run() call. More...
#include <goby/middleware/languages/python/application.h>
Public Member Functions | |
| SignalGuard (void(*quit_fn)(void *), void *quit_ctx) | |
| ~SignalGuard () | |
| SignalGuard (const SignalGuard &)=delete | |
| SignalGuard & | operator= (const SignalGuard &)=delete |
Installs the quit-on-signal handlers for the duration of a run() call.
This deliberately displaces the Python interpreter's own SIGINT handler while the C++ event loop is running: with the GIL released the interpreter would not act on a KeyboardInterrupt until the next callback, raising it from inside Goby's C++ call stack.
Definition at line 121 of file application.h.
|
inline |
Definition at line 124 of file application.h.
|
inline |
Definition at line 135 of file application.h.
|
delete |
|
delete |