RE: Optimizations for mutable structures?

8 Dec
2005
8 Dec
'05
11:36 a.m.
On 08 December 2005 11:52, Claus Reinke wrote:
is every MVar access is a synchronisation point (in terms of memory update propagation between threads, not just in terms of thread interaction)?
Yes, it is. On a multiprocessor every MVar operation performs a full memory barrier internally. Incedentally, GHC hasn't actually supported multiprocessors until very recently, and it's still only in CVS and very experimental. Cheers, Simon
7103
Age (days ago)
7103
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Marlow