1
-----------------------------------------------------------------------------
4
-- Copyright : (c) The University of Glasgow 2001
5
-- License : BSD-style (see the file libraries/base/LICENSE)
7
-- Maintainer : libraries@haskell.org
8
-- Stability : provisional
9
-- Portability : portable
11
-- Memory-related system things.
13
-----------------------------------------------------------------------------
25
#ifdef __GLASGOW_HASKELL__
26
-- | Triggers an immediate garbage collection
27
foreign import ccall {-safe-} "performMajorGC" performGC :: IO ()
31
import NHC.IOExtras (performGC)