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]

Current elision proposal


After some private discussion, here's a new proposal:

- Keep the new NORMAL type, semantics as discussed earlier,
plus compat code.

- Eliminate the NO_ELISION_NP flag bits, as for TIMED they 
are redundant with NORMAL. The main drawback is that we cannot
express ADAPTIVE with no elision.
So that means NORMAL now means "NOT ELIDED"

- Eliminate ELISION_NP too, instead add a new
pthread_mutexattr_setelision_np() that enables/disables elision for a 
given mutex.  This will be a separate patch.

This does not change anything existing, just adds a new symbol.

- (No initializers as before)

- Stop eliding ADAPTIVE, as it's apparently specified as 
"shall deadlock". Add a new ADAPTIVE type longer term
that allows deadlocking longer term (i guess post 2.18) 

-Andi
-- 
ak@linux.intel.com -- Speaking for myself only.


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