1

evSelectFD Q:

view story
linux-howto

http://www.linuxquestions.org – I've been trying to debug this problem and I think it might be due to a misunderstanding of how evSelectFD works. If I have multiple sockets registered with evSelectFD (let's say 3) so that the callback is called when there is data ready to read, if socket 1 has data ready to read and while I'm handling that data, socket 2 gets some data and then socket 3, will the callback for socket 2 get added to the event queue before socket 3's? or do they both fight for the resource that adds the callback to the event queue after socket 1's data get finished being handled? So socket 3's callback might ge (HowTos)