Interesting the _ReadWriteBarrier() intrinsic does not work even though that
is what it is designed for.  I manually add a memory fence using a locking
intrinsic or just disable optimisation of the entire function.  For high
performance of TCP it is probably better to go with adding the intrinsic.

To reproduce just run the following a few times and see if it locks,

remote_thr.exe "epgm://10.6.28.35;239.192.0.1:7500" 10 10

Patches are not signed because there are two options, therefore I explicitly
state these patches are released under the MIT/X11 license.

-- 
Steve-o

Attachment: option1_disable_opt.patch
Description: Binary data

Attachment: option2_add_fence.patch
Description: Binary data

_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to