4 ms·
Agreed. Years ago I wrote a daemon for Linux with glibc only, so I assumed I can just ignore EINTR everywhere, until I needed to use valgrind and suddenly had E
by iforgotpassword 9y ago
Agreed. Years ago I wrote a daemon for Linux with glibc only, so I assumed I can just ignore EINTR everywhere, until I needed to use valgrind and suddenly had EINTRs everywhere.
Rather than making signalfd POSIX, if we play make-a-wish let's just go for kqueue. Signalfd feels somewhat hackish, even though its simplicity admittedly has some appeal too.
- xenadu02 9y agoSignals are an example of false simplicity: they themselves are very simple at the cost of foisting the complexity on you and every library you use.
- cryptonector 9y ago+1 to kqueue. Burn epoll in a bonfire.