From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4259 Path: news.gmane.org!not-for-mail From: =?ISO-8859-2?Q?Daniel_Cegie=B3ka?= Newsgroups: gmane.linux.lib.musl.general Subject: Re: Feature request: stdatomic.h and threads.h Date: Thu, 21 Nov 2013 18:19:22 +0100 Message-ID: References: <20131121164205.GQ24286@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1385054391 25308 80.91.229.3 (21 Nov 2013 17:19:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Nov 2013 17:19:51 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4263-gllmg-musl=m.gmane.org@lists.openwall.com Thu Nov 21 18:19:56 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1VjXv1-0008SK-Hw for gllmg-musl@plane.gmane.org; Thu, 21 Nov 2013 18:19:55 +0100 Original-Received: (qmail 17999 invoked by uid 550); 21 Nov 2013 17:19:54 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 17991 invoked from network); 21 Nov 2013 17:19:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=BJTa6deNOYAQM7aeRl4DCNirjWxkXm2wvMvf7dvlnw8=; b=YF5KGslTdHfgKHfdre6lUJbpkLzIwCrOG96W3RArxUEt9Z6gtHh1p2u6ALdDF/L2ga vpPBzJiRXzqV14aVYKhMm6mRe58/Na9rUdYMHZluAaIUSCxVUlYKgCC98xtOU7GHySPZ C13cSdAwq3A/IuWm4lG05CXeov49Tok0KuQW72dhd7IfEodX2YKpWqMsLXpn0zy0j30E zR66AwWO5imyzjOt6hKeSmPLF3fgceqhmajDm6IA2nFbEjPAFRhWjaR3nf3Fk0B6OPF+ a9i52zI16YMLjHrecg0POjt5lepRg+52ybmwgQ60Bzpu9wZ7+m0TUmbbw4FbnPOhjZ1Z vlWw== X-Received: by 10.112.13.202 with SMTP id j10mr5353685lbc.29.1385054382959; Thu, 21 Nov 2013 09:19:42 -0800 (PST) In-Reply-To: <20131121164205.GQ24286@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:4259 Archived-At: 2013/11/21 Rich Felker : > On Thu, Nov 21, 2013 at 11:31:35AM +0100, Daniel Cegie=C5=82ka 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