3 #ifdef __GLASGOW_HASKELL__
4 {-# LANGUAGE ForeignFunctionInterface #-}
7 -----------------------------------------------------------------------------
10 -- Copyright : (c) The University of Glasgow 2001
11 -- License : BSD-style (see the file libraries/base/LICENSE)
13 -- Maintainer : libraries@haskell.org
14 -- Stability : provisional
15 -- Portability : portable
17 -- Memory-related system things.
19 -----------------------------------------------------------------------------
31 #ifdef __GLASGOW_HASKELL__
32 -- | Triggers an immediate garbage collection
33 foreign import ccall {-safe-} "performMajorGC" performGC :: IO ()
37 import NHC.IOExtras (performGC)