HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduleghc-prim-0.12.0Haskell2010

GHC.Prim.Ext

Extra C-- routines exposed from the RTS

Users should not import this module. It is GHC internal only. Use GHC.Conc instead.

Actual primops are emitted by the compiler itself. They are special bits of code with backend support. The foreign functions in this module aren't actual primops because the compiler doesn't care about them at all: they just are extra foreign C-- calls libraries can make into the RTS.

Note that GHC.Prim has the same haddock section names as this module, but with descriptions. Consult that module's documentation for what each section means. are described over there.

  • 1 value
  • Packageghc-prim-0.12.0
  • Exports1
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceExt.hs

Misc

1 declaration
valuegetThreadAllocationCounter#
  1. :: State# RealWorld
  2. -> (# State# RealWorld, Int64# #)
#

Retrieves the allocation counter for the current thread.

Delay/wait operations

0 declarations