Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
forkTryWith :: (Exception e, MonadUnliftIO m) => Scope -> ThreadOptions -> m a -> m (Thread (Either e a)) Source #
data ThreadOptions #
Instances
Eq ThreadOptions | |
Defined in Ki.Internal.Thread (==) :: ThreadOptions -> ThreadOptions -> Bool # (/=) :: ThreadOptions -> ThreadOptions -> Bool # | |
Show ThreadOptions | |
Defined in Ki.Internal.Thread showsPrec :: Int -> ThreadOptions -> ShowS # show :: ThreadOptions -> String # showList :: [ThreadOptions] -> ShowS # |
data ThreadAffinity #
Instances
Eq ThreadAffinity | |
Defined in Ki.Internal.Thread (==) :: ThreadAffinity -> ThreadAffinity -> Bool # (/=) :: ThreadAffinity -> ThreadAffinity -> Bool # | |
Show ThreadAffinity | |
Defined in Ki.Internal.Thread showsPrec :: Int -> ThreadAffinity -> ShowS # show :: ThreadAffinity -> String # showList :: [ThreadAffinity] -> ShowS # |