Memory Barriers with STM and MVar

Elliot Cameron eacameron at
Sat Jun 1 13:31:02 UTC 2019

For my education, can you describe your use case a bit more? Using MVar as
you did in your example seems like a strange use case. Normally you'd just
put the pointer to the structure in the MVar itself.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Libraries mailing list