--- EV/EV.pm 2007/11/23 03:59:23 1.45 +++ EV/EV.pm 2007/11/23 05:00:44 1.46 @@ -532,7 +532,25 @@ =head1 THREADS Threads are not supported by this module in any way. Perl pseudo-threads -is evil stuff and must die. +is evil stuff and must die. As soon as Perl gains real threads I will work +on thread support for it. + +=head1 FORK + +Most of the "improved" event delivering mechanisms of modern operating +systems have quite a few problems with fork(2) (to put it bluntly: it is +not supported and usually destructive). Libev makes it possible to work +around this by having a function that recreates the kernel state after +fork in the child. + +On non-win32 platforms, this module requires the pthread_atfork +functionality to do this automatically for you. This function is quite +buggy on most BSDs, though, so YMMV. The overhead for this is quite +negligible, because everything the function currently does is set a flag +that is checked only when the event loop gets used the next time, so when +you do fork but not use EV, the overhead is minimal. + +On win32, there is no notion of fork so all this doesn't apply, of course. =cut