mailing list of musl libc
 help / color / mirror / code / Atom feed
From: "Daniel Cegiełka" <daniel.cegielka@gmail.com>
To: musl@lists.openwall.com
Subject: Re: Feature request: stdatomic.h and threads.h
Date: Thu, 21 Nov 2013 18:19:22 +0100	[thread overview]
Message-ID: <CAPLrYES65HS=khwmO2K6wB=SvbY8sZC-XzvG19x0XFaWMy1ohA@mail.gmail.com> (raw)
In-Reply-To: <20131121164205.GQ24286@brightrain.aerifal.cx>

2013/11/21 Rich Felker <dalias@aerifal.cx>:
> On Thu, Nov 21, 2013 at 11:31:35AM +0100, Daniel Cegiełka wrote:
>> Hi,
>>
>> http://www.openwall.com/lists/musl/2013/06/29/17
>>
>> Is there a plan to add support for stdatomic.h and threads.h?
>
> Yes, but not before 1.0. stdatomic.h is probably not hard if you
> assume GCC __sync_* builtins (or it could be written in an
> arch-specific way),

like for stdalign.h

http://git.musl-libc.org/cgit/musl/tree/include/stdalign.h

I use a few tricks to support atomic operations (with __sync_*), but
C(11) has a huge backlog vs c++.

> but threads.h is much more complicated and
> involves ABI decisions where I'm partly waiting to see what glibc
> does.
>
> Rich

thx,
Daniel


  reply	other threads:[~2013-11-21 17:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-21 10:31 Daniel Cegiełka
2013-11-21 14:16 ` Szabolcs Nagy
2013-11-21 14:44   ` Jens Gustedt
2013-11-21 16:16     ` Daniel Cegiełka
2013-11-21 16:42 ` Rich Felker
2013-11-21 17:19   ` Daniel Cegiełka [this message]
2013-11-24 11:52   ` Daniel Cegiełka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPLrYES65HS=khwmO2K6wB=SvbY8sZC-XzvG19x0XFaWMy1ohA@mail.gmail.com' \
    --to=daniel.cegielka@gmail.com \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).