mueval-0.4.6: Safely evaluate Haskell expressionsSource codeContentsIndex
Mueval.Concurrent
Synopsis
watchDog :: Int -> ThreadId -> IO ()
block :: (t -> MVar a -> IO t1) -> t -> IO a
forkedMain :: Options -> IO ()
forkedMain' :: Options -> MVar [Char] -> IO ThreadId
Documentation
watchDog :: Int -> ThreadId -> IO ()Source
Fork off a thread which will sleep and then kill off the specified thread.
block :: (t -> MVar a -> IO t1) -> t -> IO aSource
A basic blocking operation.
forkedMain :: Options -> IO ()Source
Using MVars, block on forkedMain' until it finishes.
forkedMain' :: Options -> MVar [Char] -> IO ThreadIdSource
Set a watchDog on this thread, and then continue on with whatever.
Produced by Haddock version 2.3.0