diff options
Diffstat (limited to 'src/util/timeout.c')
| -rw-r--r-- | src/util/timeout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/timeout.c b/src/util/timeout.c index 21f9591..6fdbf16 100644 --- a/src/util/timeout.c +++ b/src/util/timeout.c @@ -5,7 +5,7 @@ #include "timeout.h" #include "util/memory.h" -__thread jmp_buf timeout_ptr; +__thread sigjmp_buf timeout_ptr; __thread bool timeout_in = false; __thread timer_t *timeout_timer; __thread struct sigevent *sevp; @@ -45,4 +45,4 @@ bool timeout_init() { void timeout_quit() { // deinit the main thread. timeout_thread_quit(); -}
\ No newline at end of file +} |
