dysfun@treehouse.systems ("gaytabase") wrote:
i guess on freebsd the way to do this is with kqueue EVFILT_USER rather than wake an eventfd (which they only got in freebsd 13.
although async file i/o is banned in freebsd now unless you've got the magic capability for security reasons, so it's not really a good platform to do async file i/o on any more.