Small improvements to the concurrent queue.
authorRodrigo Kumpera <kumpera@gmail.com>
Fri, 25 May 2012 13:50:20 +0000 (10:50 -0300)
committerRodrigo Kumpera <kumpera@gmail.com>
Fri, 25 May 2012 14:23:09 +0000 (11:23 -0300)
commit2f2815acca285e2b647508658ef740220e17be3f
tree469d68102b4a4dc3dca904a9f2469429eb73f2a7
parent8a5ad219baec253909c565ea45db19e9efa3cacb
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