4 ms·
> Another option is to use a proper OS that includes the ability to receive signals as a part of your main event loops Every 'nix can do that. Your signal han
by rstuart4133 2y ago
> Another option is to use a proper OS that includes the ability to receive signals as a part of your main event loops
Every 'nix can do that. Your signal handler just writes a byte to a pipe and your main loop reads the pipe or fifo. The pipe/fifo is your event queue, which your main loop reads.