[zeromq-dev] Pull request on atomic ops

Steven McCoy steven.mccoy at miru.hk
Thu Apr 29 06:37:58 CEST 2010


I saw Mato update the atomic ops for adding NetBSD, here is a further update
that reads a bit better, maybe.  I tried sending a pull-request on github
but the interface appears broken and has now disappeared, no idea.

* Defer NetBSD atomic ops to GCC builtins.
* Revert Sun atomic ops #define

http://github.com/steve-o/zeromq2

Reviewing the code highlights two points,

* Inconsistent use of asm clobber statements, e.g. add defined CC and
memory, but sub only defines CC.
* Bitmaps on SPARCv9 or AMD64 Solaris will be 32-bit.

And damn, those #defines are a mess.

-- 
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100429/6f724079/attachment.html>


More information about the zeromq-dev mailing list