
6 Jul
2015
6 Jul
'15
8:34 a.m.
Right, it looks like the atomically is inside unsafePerformIO, but it is in the fork. This is part of why it is better to avoid the unsafePerformIO here. Anything it buys is at great cost to clarity. On Mon, Jul 6, 2015 at 7:55 AM, Silvio Frischknecht < silvio.frischi@gmail.com> wrote:
You can't use atomically inside unsafePerformIO.
It's not really inside unsafePerformIO. It's in a separate thread spawned by unsafePerformIO. Anyway, it seems to work correctly.
Silvio _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe