This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: PATCH: Declare wait_node structure volatile
- From: Mark Brown <bmark at us dot ibm dot com>
- To: Ulrich Drepper <drepper at redhat dot com>
- Cc: Jakub Jelinek <jakub at redhat dot com>, libcalpha <libc-alpha at sources dot redhat dot com>
- Date: Thu, 21 Mar 2002 16:27:03 -0600
- Subject: Re: PATCH: Declare wait_node structure volatile
On Thursday, March 21, 2002, at 02:35 PM, Ulrich Drepper wrote:
> On Thu, 2002-03-21 at 11:46, Jakub Jelinek wrote:
>
>> Shouldn't sysdeps/ia64/pt-machine.h instead define a
>> MEMORY_BARRIER (to something like:
>> __asm__ __volatile__("" : : : "memory");
>> )?
>
> This looks more correct. Though this should probably be the
> default for
> all platforms which don't define specific BARRIER macros.
This is definitely the better fix. You have it or should I have
a patch sent?
---
Mark S. Brown
Senior Technical Staff Member, IBM Server Group
512.838.3926 fax 512.838.3882
bmark@us.ibm.com