prefork-0.0.7: A library for building a prefork-style server quickly

Safe HaskellNone
LanguageHaskell98

System.Prefork.Worker

Synopsis

Documentation

forkWorkerProcess Source

Arguments

:: WorkerContext a 
=> a

a worker context

-> IO ProcessID

a process id of a created worker

create a new worker

forkWorkerProcessWithArgs Source

Arguments

:: WorkerContext a 
=> a

a worker context

-> [String]

command line arguments

-> IO ProcessID

a process id of a created worker

create a new worker with arguments