On Wed, Nov 18, 2015 at 03:12:56PM -0600, Luke Small wrote: > I have a program that runs kqueue and when I monitor a file, it > returns that it was renamed, rather than deleted. Also, I have run the > program on a nonlistening socket and I can't get EV_CLEAR to work > correctly. If I run multiple non listening sockets off of the same > listening socket, multiple EVFILT_WRITE EVSET and kevent calls in a > row on the server will result in undesirable results when I add a > usleep() to the client. The usleep() merely uncovered the bug that > would occur in production. To fix it I've had to intermix EVFILT_READ > and EVFILT_WRITE calls. I am still on 5.7 because getting my laptop to > internet is difficult at this moment. Maybe it has been resolved.
kqueue bugs are not unheard of, please show a small example program that demonstrates the problem.
