tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kqueue
Linux man page for epoll talks about "edge" or "level" triggered behavior. How
does kqueue behave in this regard?
1. Listening socket. Assume the backlog is 5 connections waiting to be
accepted. kevent returns on this socket and the process calls accept() 3
times. If process now calls kevent, then does it block waiting for 6th
connection to arrive, or does kevent return indicating backlog of 2?
2. Connected sockets. Does kevent return when any new data arrives into the
socket buffer, or does it always return, provided socket buffer has more than
SO_RCVLOWAT bytes of data?
Home |
Main Index |
Thread Index |
Old Index