<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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?).</blockquote>
<div><br>I think you want the GHC-only GHC.Conc.forkOnIO<br><br>Suggestions like this are more motivation for the suggestion [1] to adopt a re-engineered / haskell-based RTS [2].<br><br>Tom<br><br>[1] <a href="http://www.reddit.com/r/haskell_proposals/comments/7itaz/simple_robust_maintainable_rts_for_ghc_io_pdf/">http://www.reddit.com/r/haskell_proposals/comments/7itaz/simple_robust_maintainable_rts_for_ghc_io_pdf/</a><br>
[2] <a href="http://www.seas.upenn.edu/~lipeng/homepage/papers/lmpjt07hw.pdf">http://www.seas.upenn.edu/~lipeng/homepage/papers/lmpjt07hw.pdf</a><br></div>