Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

From Bryan's interview it's clear they've solved the problem like that. From article I linked, it doesn't indicate so.

Take a look here[1], at 'EVFILT_SIGNAL'. But does that mean that we have to manually attach signal to monitor, and then we receive "we're done". But that's kinda similar to what you have to do with epoll, the difference is that kqueue structure encapsulates functiona of 'epoll_wait' and 'epoll_ctl'?

[1] https://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2

Edit: sorry for spamming with links, but I find these things really interesting, look here http://austingwalters.com/io-multiplexing/ specifically at 4 steps after kqueue code, I think that explains well. So it looks like we wait for signal 'done' after which we rewatch.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: