Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sun, 13 Dec 2015 11:01:22 +0100
From: Jens Gustedt <>
Subject: stdatomic implementation

Hello everybody,
as Rich suggested at some point, I have now wrapped up my code for the
library part of atomics in a standalone library. I should work with
most versions of gcc or clang that are around, with evidently a
different degree of C11 support according to the particular version.

Its integration into musl should be straight forward and remains my
primary choice for having it distributed. You can find it at

Under the hood it uses a new lock algorithm based on futex waits for
the slow path, that has proven to be more efficient than anything else
that I looked at: musl's internal lock, mtx_t or pthread_mutex_t, or
spinlocks. You can find a discussion of that at

Before I go (more) public with this, I would very much like to hear
what you think.



:: INRIA Nancy Grand Est ::: Camus ::::::: ICube/ICPS :::
:: ::::::::::::::: office Strasbourg : +33 368854536   ::
:: :::::::::::::::::::::: gsm France : +33 651400183   ::
:: ::::::::::::::: gsm international : +49 15737185122 ::
:: ::

Download attachment "signature.asc" of type "application/pgp-signature" (182 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.