Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 21 Jan 2014 12:33:59 +0100
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: Discussion of partly-invasive changes needed for x32 port

* Jens Gustedt <jens.gustedt@...ia.fr> [2014-01-21 09:29:01 +0100]:
> Once you are starting to implement C11 library features, you are going
> to need more, I think. Implementing C11 atomics without it would be a
> real challenge.

what is the issue there?

i still don't get what the standard mean by "generic function" in the
c11 atomics specs

i thought the compiler will do the hard work (providing __builtin_foo
for every atomic foo) and libc just macro wraps those

it is not clear if the atomic functions are reserved for external
linkage (currently the text seems to require external linkage for them
but i don't know how could that work) or if you can take the address
of them

and the standard does not seem to permit the use of atomic functions
in signal handlers which would be useful

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.