Hoogle Search
Within LTS Haskell 24.46 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setAllocationCounter :: Int64 -> IO ()ghc-internal GHC.Internal.System.Mem Every thread has an allocation counter that tracks how much memory has been allocated by the thread. The counter is initialized to zero, and setAllocationCounter sets the current value. The allocation counter counts *down*, so in the absence of a call to setAllocationCounter its value is the negation of the number of bytes of memory allocated by the thread. There are two things that you can do with this counter:
- Use it as a simple profiling mechanism, with getAllocationCounter.
- Use it as a resource limit. See enableAllocationLimit.
-
ghc-internal GHC.Internal.System.Posix.Internals No documentation available.
setCooked :: FD -> Bool -> IO ()ghc-internal GHC.Internal.System.Posix.Internals No documentation available.
setEcho :: FD -> Bool -> IO ()ghc-internal GHC.Internal.System.Posix.Internals No documentation available.
setNonBlockingFD :: FD -> Bool -> IO ()ghc-internal GHC.Internal.System.Posix.Internals No documentation available.
set_saved_termios :: CInt -> Ptr CTermios -> IO ()ghc-internal GHC.Internal.System.Posix.Internals No documentation available.
setFinalizerExceptionHandler :: (SomeException -> IO ()) -> IO ()ghc-internal GHC.Internal.Weak Set the global action called to report exceptions thrown by weak pointer finalizers to the user.
setFinalizerExceptionHandler :: (SomeException -> IO ()) -> IO ()ghc-internal GHC.Internal.Weak.Finalize Set the global action called to report exceptions thrown by weak pointer finalizers to the user.
setAnalysisExtraAttrs :: MonadIO m => Analysis -> Ptr (GSList (Ptr ())) -> m ()gi-pango GI.Pango.Structs.Analysis Set the value of the “extra_attrs” field. When overloading is enabled, this is equivalent to
set analysis [ #extraAttrs := value ]
setAnalysisFlags :: MonadIO m => Analysis -> Word8 -> m ()gi-pango GI.Pango.Structs.Analysis Set the value of the “flags” field. When overloading is enabled, this is equivalent to
set analysis [ #flags := value ]