Davide Libenzi wrote: >Why would you want to have a single fd simultaneously handled by two >different threads with all the locking issues that would arise ? > You would not want this to happen. Thus you would want the poll facility to somehow prevent returning event N+1 until after the thread that got event N has somehow indicated that it has finished handling the event.