On Sat, Nov 1, 2008 at 8:38 PM, Michael Kerrisk <[EMAIL PROTECTED]> wrote: >> And then it'd be nice to give an example where it does use edge-triggering >> as well. > > This would serve to make the example longer, but I'm not sure that it > would provide any real learning benefit. (I'm open to (good) > arguments to the contrary, especially if accompanied by a suitable > patch.)
I'm wondering about the case where accept() returns EMFILE. In that case, the example currently misbehaves (it does a busy loop). I'm not sure how epoll behaves in this case and a solution doesn't appear to be trivial. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

