Small improvements to the concurrent queue.
commit04440004f5767ecb75e88674cf577ae9696f08e9
authorRodrigo Kumpera <kumpera@gmail.com>
Fri, 25 May 2012 13:50:20 +0000 (25 10:50 -0300)
committerRodrigo Kumpera <kumpera@gmail.com>
Fri, 25 May 2012 13:54:03 +0000 (25 10:54 -0300)
treeb906526121e17ce612d9dd613925e20b5b8529df
parenteeabf86973e0b4306feaab34d7b0deef04918b6c
Small improvements to the concurrent queue.

* mono-cq.c (mono_cq_add_node): Add a store store fence
between the two stores as they can be observed OOO.

* mono-cq.c (mono_cq_create): Use precise roots for head
and tail.
mono/metadata/mono-cq.c