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] Add PTHREAD_MUTEX_NORMAL_INT


> And that's one of the contentious issues that still exist, and has been
> noted in several reviews already (and not just recently...).  In
> particular, there's (1) the question of whether we want to have any
> additional bits at all

This was already discussed several months ago. 

Originally I didn't have bits, but separate lock types. Then I was advised
to switch to bits, which I did.

, and (2) the question whether these bits should
> affect semantics, or be pure performance hints.

Ok. Please discuss the topic then. And also please do it quickly,
as you know there is a deadline this week, and if changes are needed
I also need time to implement them.

My only firm requirement is that there is some way to make trylock nest in
elision.

> Given that we don't have consensus about this, but can arguably get the
> 90% without it (now that we have a solution for DEFAULT vs. NORMAL), it

The initial goal is to let people test and evaluate it. If they can't
turn it on/off they can't do that. So it would be more like 0% 

Yes I'm in favour of having the environment variables too.

-Andi


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