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]

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


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




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