On Sun, Jul 20, 2008 at 7:37 PM, Reid van Melle <[EMAIL PROTECTED]> wrote: > The file descriptors for socket pairs and/or pipes do not seem to function > properly in libevent after a process fork on MacOS. The same code works > fine in Linux. After registering an event and calling libevent_loop, I get > a bad file descriptor message.
After you fork, you need to call event_reinit() in your child. Kqueue does not survive across forks and that's the default notification mechanism in Mac OS X. Niels. _______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkeymail.org/mailman/listinfo/libevent-users