Safe Haskell | Trustworthy |
---|---|
Language | Haskell2010 |
Control.CUtils.Conc
Description
Compatibility shims for old version
Synopsis
- data ExceptionList = ExceptionList [SomeException]
- data ConcException = ConcException
- concF_ :: (?pool :: Pool) => Int -> ConcurrentMethod () ()
- conc_ :: (IArray ar (IO ()), Ix i, ?pool :: Pool) => ar i (IO ()) -> IO ()
- concF :: (?pool :: Pool) => Int -> ConcurrentMethod (Array Int t) t
- conc :: (IArray ar (IO e), Ix i, ?pool :: Pool) => ar i (IO e) -> IO (Array i e)
- arr_assocFold :: (IArray ar t, Ix i, ?pool :: Pool) => Kleisli IO (u, u) u -> (t -> u) -> Kleisli IO (t, ar i t) u
Documentation
data ExceptionList Source #
For exceptions caused by caller code.
Constructors
ExceptionList [SomeException] |
Instances
Show ExceptionList Source # | |
Defined in Control.CUtils.CPUMultiThreading Methods showsPrec :: Int -> ExceptionList -> ShowS # show :: ExceptionList -> String # showList :: [ExceptionList] -> ShowS # | |
Exception ExceptionList Source # | |
Defined in Control.CUtils.CPUMultiThreading Methods toException :: ExceptionList -> SomeException # fromException :: SomeException -> Maybe ExceptionList # displayException :: ExceptionList -> String # |
data ConcException Source #
For internal errors. If a procedure throws this, some threads it created may still be running. This exception type is provided out of an abundance of caution, in case you want to take precautions against the activities of threads that for whatever reason cannot be terminated. If thrown it is never among the exceptions listed inside an ExceptionList.
Constructors
ConcException |
Instances
Show ConcException Source # | |
Defined in Control.CUtils.CPUMultiThreading Methods showsPrec :: Int -> ConcException -> ShowS # show :: ConcException -> String # showList :: [ConcException] -> ShowS # | |
Exception ConcException Source # | |
Defined in Control.CUtils.CPUMultiThreading Methods toException :: ConcException -> SomeException # fromException :: SomeException -> Maybe ConcException # displayException :: ConcException -> String # |