Reinitialize the event base after forking.
commitccfe32a71447e66d19695a71472cd0a592b83360
authorKeith Rarick <kr@xph.us>
Thu, 23 Apr 2009 02:10:12 +0000 (22 19:10 -0700)
committerKeith Rarick <kr@xph.us>
Thu, 23 Apr 2009 02:10:12 +0000 (22 19:10 -0700)
tree63674d389f5174195558ad6e57ca422846a959e0
parentc14d46db0ee31692c8e28c0d302dc14bf52c4dd6
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.
beanstalkd.c