[zeromq-dev] GCC Atomic Builtins (was Re: zmq on n900)
Martin Sustrik
sustrik at 250bpm.com
Wed Feb 24 17:47:24 CET 2010
Martin Lucina wrote:
> At the moment we do 1), 2) and 4). Adding 3) is going to be a fair amount
> of hairy preprocessor and autoconf work and lots of testing to make sure
> that the combinations all work as expected. So I'm posting this to make
> sure the information we need to make it work doesn't get lost, but I don't
> expect to be working on this anytime soon.
>
> If someone wishes to step up and produce a patch for review that will
> satisfy all of the above, you're welcome to :-)
If we want to move any further with atomic ops, we should clearly
separate atomic ops themselves and memory barriers (not the case atm)
and test it on a platform with memory model as loose as possible
(IA64/Linux?)
If there's a CS student on a list looking for thesis topic, making all
the lock-free algorithms as efficient as possible (minimal number of
memory barriers) with different memory models may be an interesting
possibility.
Martin
More information about the zeromq-dev
mailing list