[zeromq-dev] atomic ops

john skaller skaller at users.sourceforge.net
Wed Feb 8 16:25:01 CET 2012

On 09/02/2012, at 1:19 AM, Steven McCoy wrote:

> Compare with my atomics:
> http://code.google.com/p/openpgm/source/browse/trunk/openpgm/pgm/include/pgm/atomic.h

Noted, thx..

> Of note, Apple added their own intrinsics in addition to GCC, odd.

Odd? Apple? They're like everyone else, re-inventing wheels to 
avoid dependencies on third parties.

Interesting things is .. all this fuss about thread-safety .. and actually,
these atomic ops are used in the msg_t functions .. the ones least
likely to span thread boundaries :)

john skaller
skaller at users.sourceforge.net

More information about the zeromq-dev mailing list