This is the mail archive of the libc-alpha@sourceware.org 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]
Other format: [Raw text]

Re: Difference between elision-lock.c and -trylock.c


On Mon, Jul 22, 2013 at 11:49:55AM +0200, Dominik Vogt wrote:
> Why does elision-trylock.c _not_ have this code from
> elision-lock.c?

This code really should have a wait for lock-free, but it's unclear if that
makes sense for trylock. So I left it out for now.

Longer term the adaption for lock busy may be removed.

-Andi


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