malloc/free and priority inheritance?

Siddhesh Poyarekar siddhesh.poyarekar@gmail.com
Thu Apr 4 15:40:00 GMT 2013


On 4 April 2013 20:39, Stanislav Meduna <stano@meduna.org> wrote:
> The first thing e.g. the __pthread_cond_broadcast (and most of the
> other functions as well) does is to grab lll_lock. Is the following
> scenario possible?

Yes this is possible.  I think there is a bug report that describes
this.  We need to convert the pthread_cond_t internal lock into a PI
one if the mutex guarding it is PI.  It's probably tricky to do
though; I haven't thought it through.

Siddhesh
--
http://siddhesh.in



More information about the Libc-help mailing list