[aegl@unix-os.sc.intel.com] libc/2223: _pthread_lock sometimes spins uselessly

David S. Miller davem@redhat.com
Mon Apr 30 13:06:00 GMT 2001


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



More information about the Libc-alpha mailing list