Typo
[packages/base.git] / System / Mem.hs
1 {-# LANGUAGE Safe #-}
2
3 -----------------------------------------------------------------------------
4 -- |
5 -- Module : System.Mem
6 -- Copyright : (c) The University of Glasgow 2001
7 -- License : BSD-style (see the file libraries/base/LICENSE)
8 --
9 -- Maintainer : libraries@haskell.org
10 -- Stability : provisional
11 -- Portability : portable
12 --
13 -- Memory-related system things.
14 --
15 -----------------------------------------------------------------------------
16
17 module System.Mem
18 ( performGC
19 , performMajorGC
20 , performMinorGC
21 ) where
22 import Prelude
23
24 -- | Triggers an immediate garbage collection.
25 performGC :: IO ()
26 performGC = performMajorGC
27
28 -- | Triggers an immediate garbage collection.
29 --
30 -- /Since: 4.7.0.0/
31 foreign import ccall "performMajorGC" performMajorGC :: IO ()
32
33 -- | Triggers an immediate minor garbage collection.
34 --
35 -- /Since: 4.7.0.0/
36 foreign import ccall "performGC" performMinorGC :: IO ()