From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4277 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: Sun, 24 Nov 2013 12:52:05 +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 1385293950 17697 80.91.229.3 (24 Nov 2013 11:52:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Nov 2013 11:52:30 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4281-gllmg-musl=m.gmane.org@lists.openwall.com Sun Nov 24 12:52:37 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 1VkYEv-0003dd-BV for gllmg-musl@plane.gmane.org; Sun, 24 Nov 2013 12:52:37 +0100 Original-Received: (qmail 28354 invoked by uid 550); 24 Nov 2013 11:52:36 -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 28346 invoked from network); 24 Nov 2013 11:52:36 -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=lgTSiVq1TOw3M7JcZbQlN4RX5siI1xTLOxqwDQtKgGA=; b=WP12XkVnUJzCwOcOK5k8bxZ8O4sgjyrwelNYsVsPUsFeqONFSLwv0bbuAaiyRHttnz DyUnHsjQSru4Qem+jQmD9/eB6gEbqdXhgs51q3g+NlcBmIOk375rC5T0Q1DUvspaNIJN 2uVX464imR+vKHPI+izMpNLTiE4vVul4Y9XKyVhbLLq8PLb5dB/vJ25WqNxy+RMqR/Hy ioXikOcrpMgt1ez+yJlAudTq8AinSlK3Xle+476WGkXcLY6mPmjH1ixtN+MrvwOVfK2m ss8a1zQGVPwWRJ7zzf0I8tz2SHDtbsXgoskQwbW6AFIjppqdqao9g1AUsAEJFHIg5Myv Vh8Q== X-Received: by 10.152.116.109 with SMTP id jv13mr1006016lab.30.1385293945223; Sun, 24 Nov 2013 03:52:25 -0800 (PST) In-Reply-To: <20131121164205.GQ24286@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:4277 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) this may be helpful: stdatomic.h from FreeBSD. http://svnweb.freebsd.org/base/head/include/stdatomic.h?revision=3D234958&v= iew=3Dco&pathrev=3D234958 Support for gcc and cflang. This has been added to newlib: https://sourceware.org/ml/newlib/2013/msg00436.html Daniel