This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]