[Haskell-cafe] Why is TChan GHC specific?

Peter Robinson thaldyron at gmail.com
Wed May 12 15:29:05 EDT 2010


As far as I know, TChan needs the 'retry' combinator which requires GHC's RTS.
Same is true for TMVar, I think.

  Peter

On 12 May 2010 21:15, Edward Amsden <eca7215 at cs.rit.edu> wrote:
> I'm currently just getting into playing around with concurrency in
> haskell, primarily because I find STM intriguing. In looking through
> the docs I noticed that the transactional channels are GHC specific.
> http://hackage.haskell.org/packages/archive/stm/2.1.1.2/doc/html/Control-Concurrent-STM-TChan.html
>
> I dug around the wiki and Google but I couldn't find the reason for this.
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>


More information about the Haskell-Cafe mailing list