Resource limits for Haskell

Herbert Valerio Riedel hvr at gnu.org
Fri Mar 8 10:14:43 CET 2013


"Edward Z. Yang" <ezyang-DPNOqEs/LNQ at public.gmane.org> writes:

> Ever wanted to write this?
>
>     -- | Forks a thread, but kills it if it has more than 'limit'
>     -- bytes resident on the heap.
>     forkIOWithSpaceLimit :: IO () -> {- limit -} Int -> IO ThreadId
>
> I have a proposal (and some unpublished experimental patches) which do
> just that.  Check it out at: http://hackage.haskell.org/trac/ghc/wiki/Commentary/ResourceLimits
>
> Comments, bikeshedding and critique appreciated.

...here's just a link to a previous related short discussion for completeness:

   http://www.haskell.org/pipermail/glasgow-haskell-users/2012-April/022258.html

cheers,
  hvr



More information about the ghc-devs mailing list