[PATCH 0/4 V3] pi-condvars: condvar protocol API

Darren Hart dvhltc@us.ibm.com
Fri May 28 17:43:00 GMT 2010


The following patch series implements a protocol setting API for condattrs
in order to make complete their priority inheritance implmemenation and
avoid potential deadlocks dealing with the internal condvar lock. This
series includes two new APIs:

pthread_condattr_setprotocol_np()
pthread_condattr_getprotocol_np()

It also provides two "make check" test cases:

nptl/tst-condpi1.c
nptl/tst-condpi2.c

Note that this patch series is a proof of concept, and only implmements the C
version of the API and has only been tested on x86_64. In order to test, you
will need to apply this series and remove (or rename) all the pthread_cond*.S
files so that the C implementation is used.

My immediate goal is to agree on the new API.

This version (V3) extricates the pi-condvar patches from the C implementation
of the requeue-pi patches which were lingering in the previous versions of
this patch queue. These patches also include proper glibc ChangeLogs.

Thanks,

--
Darren Hart
IBM Linux Technology Center
Real-Time Linux Team





More information about the Libc-alpha mailing list