mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-08 21:25:32 +02:00
Add support for sigqueue() and also handle SIGUSR2
I anticipate using sigqueue() for simpler handling of SIGCHLD notifications from the prewram process to the its parent.
This commit is contained in:
@@ -37,7 +37,7 @@ typedef struct {
|
||||
int wakeup_read_fd;
|
||||
int signal_read_fd;
|
||||
} LoopData;
|
||||
typedef void(*handle_signal_func)(int, void *data);
|
||||
typedef void(*handle_signal_func)(int32_t, int32_t, void *data);
|
||||
|
||||
bool init_loop_data(LoopData *ld);
|
||||
void free_loop_data(LoopData *ld);
|
||||
|
||||
Reference in New Issue
Block a user