Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: