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: [PATCH v2] lowlevellock comments


Thanks. I've incorporated most of your comments locally.

Before I post another version, can we agree on the terms for the lock states?
>> >> +
>> >> +   cond_locks are never in the taken state, they are either untaken or
>> >> +   contended.
>> >
>> > Please use locked, or unlocked terms everywhere.
>>
>> I've gone for unlocked, locked and locked with waiters.
>
> My vote would be for "acquired" / "not acquired", as in "the lock has
> been acquired".

I also prefer acquired/not acquired, but didn't feel strongly enough
about it to argue the point with Carlos. I would prefer not to keep
switching between terminologies, though.

Carlos (or anyone else), do you feel strongly that locked/unlocked is
the better terminology here?


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