Reinitialize the event base after forking.
Reinitialize the event base after forking.

This is needed on some systems, particularly BSD (including Mac OS). See
http://groups.google.com/group/beanstalk-talk/t/bdda1e5ebf2b1d7a for more info.

Thanks to Alex MacCaw and Yun Huang Yong for the bug report and fix.

tdg5/beanstalkd,cgvarela/beanstalkd,amyvmiwei/beanstalkd,wfxiang08/beanstalkd,lzpfmh/beanstalkd,cgvarela/beanstalkd,bmhatfield/beanstalkd,bmhatfield/beanstalkd,tdg5/beanstalkd,diditaxi/beanstalkd,PhillipMwaniki/beanstalkd,naderman/beanstalkd,LomoX-Offical/beanstalkd-win,LomoX-Offical/beanstalkd-win,justintung/beanstalkd,CompendiumSoftware/beanstalkd,r3jack/beanstalkd,wyzssw/beanstalkd,naderman/beanstalkd,JensRantil/beanstalkd,ifduyue/beanstalkd,orangeholic/beanstalkd,mobliyishengyuan/beanstalkd,handautsav/beanstalkd,PhillipMwaniki/beanstalkd,lzpfmh/beanstalkd,aidaima/beanstalkd,kr/beanstalkd,Qihoo360/beanstalkd-win,orangeholic/beanstalkd,yetone/beanstalkd,potatosalad/beanstalkd,pinguo-xudianyang/beanstalkd,qbdsoft/beanstalkd,kr/beanstalkd,mobliyishengyuan/beanstalkd,JensRantil/beanstalkd,wfxiang08/beanstalkd,ifduyue/beanstalkd,amyvmiwei/beanstalkd,Qihoo360/beanstalkd-win,yetone/beanstalkd,handautsav/beanstalkd,davies/beanstalkd,CompendiumSoftware/beanstalkd,justintung/beanstalkd,davies/beanstalkd,potatosalad/beanstalkd,aidaima/beanstalkd,qbdsoft/beanstalkd,r3jack/beanstalkd,pinguo-xudianyang/beanstalkd,mickeyouyou/beanstalkd,naderman/beanstalkd,mickeyouyou/beanstalkd,wyzssw/beanstalkd,diditaxi/beanstalkd