Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
throwErrnoIfMinus1Retry_ :: (Eq a, Num a) => String -> IO a -> IO ()ghc-internal GHC.Internal.Foreign.C.Error as throwErrnoIfMinus1, but discards the result.
throwErrnoIfNullRetry :: String -> IO (Ptr a) -> IO (Ptr a)ghc-internal GHC.Internal.Foreign.C.Error Throw an IOError corresponding to the current value of getErrno if the IO action returns nullPtr, but retry in case of an interrupted operation.
throwErrnoIfNullRetryMayBlock :: String -> IO (Ptr a) -> IO b -> IO (Ptr a)ghc-internal GHC.Internal.Foreign.C.Error as throwErrnoIfNullRetry, but checks for operations that would block.
throwErrnoIfRetry :: (a -> Bool) -> String -> IO a -> IO aghc-internal GHC.Internal.Foreign.C.Error as throwErrnoIf, but retry the IO action when it yields the error code eINTR - this amounts to the standard retry loop for interrupted POSIX system calls.
throwErrnoIfRetryMayBlock :: (a -> Bool) -> String -> IO a -> IO b -> IO aghc-internal GHC.Internal.Foreign.C.Error as throwErrnoIfRetry, but additionally if the operation yields the error code eAGAIN or eWOULDBLOCK, an alternative action is executed before retrying.
throwErrnoIfRetryMayBlock_ :: (a -> Bool) -> String -> IO a -> IO b -> IO ()ghc-internal GHC.Internal.Foreign.C.Error as throwErrnoIfRetryMayBlock, but discards the result.
throwErrnoIfRetry_ :: (a -> Bool) -> String -> IO a -> IO ()ghc-internal GHC.Internal.Foreign.C.Error as throwErrnoIfRetry, but discards the result.
actionRetry :: Int -> Action a -> Action ashake Development.Shake Retry an Action if it throws an exception, at most n times (where n must be positive). If you need to call this function, you should probably try and fix the underlying cause (but you also probably know that).
-
ghc-lib-parser GHC.Builtin.PrimOps No documentation available.
CATCH_RETRY_FRAME :: ClosureTypeghc-lib-parser GHC.Exts.Heap No documentation available.