name: gc category: Data version: 0.0.1 license: BSD3 cabal-version: >= 1.16 license-file: LICENSE author: Edward A. Kmett maintainer: Edward A. Kmett stability: provisional homepage: http://github.com/ekmett/gc/ bug-reports: http://github.com/ekmett/gc/issues copyright: Copyright (C) 2015 Edward A. Kmett build-type: Custom tested-with: GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.1 synopsis: Poor Richard's Memory Manager description: This package implements a form of by Hertz, Kane, Keudel, Bai, Ding, Gu and Bard in user-space in GHC. . Usage: . > import System.Mem.Manager > main = do > _ <- selfishManager > ... . Now, the background thread that was spawned by @selfishManager@ will watch for signs that the host operating system is starting to cause the current process to page out to disk and respond with more aggressive garbage collection. . This empowers your code to try to avoid the inevitable death spiral that follows when GC has to happen with paged out data. extra-source-files: CHANGELOG.markdown README.markdown custom-setup setup-depends: base >= 4.3 && <5, Cabal >= 1.10, cabal-doctest >= 1 && <1.1 source-repository head type: git location: git://github.com/ekmett/gc.git -- You can disable the doctests test suite with -f-test-doctests flag test-doctests default: True manual: True -- You can disable the doctests test suite with -f-test-doctests flag test-hlint default: True manual: True library build-depends: base >= 4.7 && < 5 exposed-modules: System.Mem.Manager ghc-options: -Wall -fwarn-tabs hs-source-dirs: src default-language: Haskell2010 c-sources: cbits/rss.c test-suite doctests type: exitcode-stdio-1.0 main-is: doctests.hs ghc-options: -Wall -threaded hs-source-dirs: tests default-language: Haskell2010 if !flag(test-doctests) buildable: False else build-depends: base, directory >= 1.0, doctest >= 0.9.1, filepath, parallel test-suite hlint type: exitcode-stdio-1.0 main-is: hlint.hs ghc-options: -w -threaded -rtsopts -with-rtsopts=-N hs-source-dirs: tests default-language: Haskell2010 if !flag(test-hlint) buildable: False else build-depends: base, hlint >= 1.7