[Haskell-cafe] Re: concurrent haskell: thread priorities
Neal Alexander
wqeqweuqy at hotmail.com
Tue Dec 23 14:53:11 EST 2008
Thomas DuBuisson wrote:
> It seems like we could get some priority based scheduling (and still
> be slackers) if we allow marked green threads to be strictly
> associated with a specific OS thread (forkChildIO?).
>
>
> I think you want the GHC-only GHC.Conc.forkOnIO
>
> Suggestions like this are more motivation for the suggestion [1] to
> adopt a re-engineered / haskell-based RTS [2].
>
> Tom
>
> [1]
> http://www.reddit.com/r/haskell_proposals/comments/7itaz/simple_robust_maintainable_rts_for_ghc_io_pdf/
> [2] http://www.seas.upenn.edu/~lipeng/homepage/papers/lmpjt07hw.pdf
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
GHC.Conc.forkOnIO is helpful but doest work in this case - it doesn't
attach them to the same OS thread.
More information about the Haskell-Cafe
mailing list