This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [aegl@unix-os.sc.intel.com] libc/2223: _pthread_lock sometimes spins uselessly
- To: Andreas Jaeger <aj at suse dot de>
- Subject: Re: [aegl@unix-os.sc.intel.com] libc/2223: _pthread_lock sometimes spins uselessly
- From: "David S. Miller" <davem at redhat dot com>
- Date: Mon, 30 Apr 2001 13:06:24 -0700 (PDT)
- Cc: libc-alpha at sources dot redhat dot com, aegl at unix-os dot sc dot intel dot com
- References: <u81yqap6e9.fsf@gromit.rhein-neckar.de>
Andreas Jaeger writes:
> please comment on the appended bug report. Should we really change
> _pthread_fastlock to:
...
> volatile long int __status; /* "Free" or "taken" or head of waiting list */
His analysis seems correct to me.
Later,
David S. Miller
davem@redhat.com