Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
- data PreforkSettings sc = PreforkSettings {
- psOnTerminate :: sc -> [ProcessID] -> IO ()
- psOnInterrupt :: sc -> [ProcessID] -> IO ()
- psOnQuit :: sc -> IO ()
- psOnChildFinished :: sc -> IO [ProcessID]
- psOnStart :: Maybe sc -> IO ()
- psOnFinish :: Maybe sc -> IO ()
- psUpdateServer :: sc -> IO [ProcessID]
- psCleanupChild :: sc -> ProcessID -> IO ()
- psUpdateConfig :: IO (Maybe sc)
- data PreforkResource w = PreforkResource {}
- makePreforkResource :: (Ord w, Eq w) => [w] -> IO (PreforkResource w)
- emptyPreforkResource :: (Ord w, Eq w) => IO (PreforkResource w)
- updateWorkerSet :: (Ord w, Eq w) => PreforkResource w -> [w] -> IO ()
Documentation
data PreforkSettings sc Source
This represents handlers for controlling child processes.
The type parameter sc
is a server configuration (application specific).
PreforkSettings | |
|
data PreforkResource w Source
makePreforkResource :: (Ord w, Eq w) => [w] -> IO (PreforkResource w) Source
emptyPreforkResource :: (Ord w, Eq w) => IO (PreforkResource w) Source
updateWorkerSet :: (Ord w, Eq w) => PreforkResource w -> [w] -> IO () Source