Schmorpforge Software Repository

AnyEvent-Fork

Piratenpartei
Deliantra Free MMORPG
The free as in beer, liberal, code & content retro-style graphical MMORPG :)

AnyEvent-Fork

Everything you wanted to use fork() for, but couldn't.

Blurb

This module allows you to create new processes, without actually forking them from your current process (avoiding the problems of forking), but preserving most of the advantages of fork. It can be used to create new worker processes or new independent subprocesses for short- and long-running jobs, process pools (e.g. for use in pre-forked servers) but also to spawn new external processes (such as CGI scripts from a webserver), which can be faster (and more well behaved) than using fork+exec in big processes.

Resources

CVSBrowsable CVS module 'AnyEvent-Fork'
CVSAnonymous CVS:  cvs -z3 -d :pserver:anonymous@cvs.schmorp.de/schmorpforge co AnyEvent-Fork
CPANFile Releases (CPAN)
LISTMailing List 'anyevent'
IRCServer irc.schmorp.de, channel #schmorpforge, user schmorp (say hi and wait a few minutes or hours)

Additional Documents

PODMain Manual Page
PODFork/Early.pm
PODFork/Template.pm
FILEChanges