| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
System.Prefork.Worker
- forkWorkerProcess :: WorkerContext a => a -> IO ProcessID
- forkWorkerProcessWithArgs :: WorkerContext a => a -> [String] -> IO ProcessID
- preforkEnvKey :: String
Documentation
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