[zeromq-dev] Lock-free algorithms

Steven McCoy steven.mccoy at miru.hk
Sun Sep 7 05:27:46 CEST 2014

On 4 September 2014 06:32, Michi Henning <michi at triodia.com> wrote:

> https://code.google.com/p/thread-sanitizer/issues/detail?id=69
> In the context of lock-free techniques in zmq, one of the commenters
> mentioned:
> > Just a drive-by comment: TSan should not produce false positives on
> lock-free algorithms, if they use atomic operations correctly. If they
> don't then these algorithms are broken.

Are not such statements based around usage of new standard constructs for
atomic operations in C++11 and C99?  Hence the note about bespoke TSan
instrumentation later in the article.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140907/7b2fbdbf/attachment.htm>

More information about the zeromq-dev mailing list