3 ms·
My understanding is that kqueue can notify for file events like "readable" or "opened," but cannot actually initiate reading or opening.
by ridiculous_fish 6y ago
My understanding is that kqueue can notify for file events like "readable" or "opened," but cannot actually initiate reading or opening.
- halayli 6y agokqueue is not responsible for initiation. It's responsible to notify you about events. when you open(2) a file with O_NONBLOCK flag, you can register it with kqueue to let you know when it's readable/writable.