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