delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Thu, 2 Aug 2012 10:10:59 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: src/winsup/w32api ChangeLog include/winnt.h |
Message-ID: | <20120802081059.GA11516@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <20120801191737 DOT 7557 DOT qmail AT sourceware DOT org> <CAKw7uVid61wi6zeegbhhsLwN=qu0CHbuWoB+AavSzzpnAm-jsA AT mail DOT gmail DOT com> <CAKw7uVjpWiQOhKOkpGUx6dPCaQO3xVH75Re1Oyp+vzt9YKX6QQ AT mail DOT gmail DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <CAKw7uVjpWiQOhKOkpGUx6dPCaQO3xVH75Re1Oyp+vzt9YKX6QQ@mail.gmail.com> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Aug 2 09:56, Václav Zeman wrote: > On 1 August 2012 21:17, <earnie@...> wrote: > > CVSROOT: /cvs/src > > Module name: src > > Changes by: earnie@... 2012-08-01 19:17:37 > > > > Modified files: > > winsup/w32api : ChangeLog > > winsup/w32api/include: winnt.h > > > > Log message: > > * include/winnt.h (MemoryBarrier): Add definition. > > > > Patches: > > http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/w32api/ChangeLog.diff?cvsroot=src&r1=1.1121&r2=1.1122 > > http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/w32api/include/winnt.h.diff?cvsroot=src&r1=1.139&r2=1.140 > > > > +# else > + FORCEINLINE VOID MemoryBarrier (VOID) { > + LONG Barrier = 0; > + __asm__ __volatile__("xchgl %%eax,%0 " > + :"=r" (Barrier)); > + } > > Since this is for GCC anyway, why not using __sync_synchronize() in > the body of the function instead? w32api is maintained by the Mingw32 project. Please discuss issues on the mingw32 mailing lists, see https://sourceforge.net/mail/?group_id=2435 Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |