[Haskell-cafe] Memory and Threads - MVars or TVars

Eitan Goldshtrom thesourceofx at gmail.com
Wed Jul 28 20:23:26 EDT 2010

Hi everyone. I was wondering if someone could just guide me toward some 
good information, but if anyone wants to help with a personal 
explanation I welcome it. I'm trying to write a threaded program and I'm 
not sure how to manage my memory. I read up on MVars and they make a lot 
of sense. My real question is what is "atomic" and how does it apply to 
TVars? I don't understand what atomic transactions are and I can't seem 
to find a concise explanation. I also saw some stuff about TMVars? But I 
can't find much on them either. Any help would be appreciated.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100728/48b7f98f/attachment.html

More information about the Haskell-Cafe mailing list