2 ms·
This is yet another leaky abstraction. The non-portability is mentioned: If portability is essential to you, sd-event is not your best option. sd-event
by pdkl95 11y ago
This is yet another leaky abstraction. The non-portability is mentioned:
If portability is essential to you, sd-event is not your best option.
sd-event is a wrapper around Linux-specific APIs ...
Also, "allows us to access"? Why the implication that epoll and timerfd were inaccessible?
- ori_b 11y ago> Why the implication that epoll and timerfd were inaccessible? With high level, portable, abstractions, it may very well be impossible to expect the event loop to know how to deal sensibly with, eg, timerfd.
- Sanddancer 11y agolibuv seems to handle such things pretty well. Ported to AIX, *BSD, Darwin, Solaris, and Windows.