[Xenomai-core] [RFC][PATCH 5/9] Allow lock stealing via pthread_mutex_trylock

2008-09-01 Thread Jan Kiszka
By calling into the kernel in the contended case and exploiting XN_NONBLOCK for xnsynch_sleep_on, this patch adds lock stealing support to pthread_mutex_trylock. The latter part may change if we decide to go for a dedicates xnsynch trylock service. Maybe we are even lucky and able to implement

Re: [Xenomai-core] [RFC][PATCH 5/9] Allow lock stealing via pthread_mutex_trylock

2008-09-01 Thread Gilles Chanteperdrix
Jan Kiszka wrote: By calling into the kernel in the contended case and exploiting XN_NONBLOCK for xnsynch_sleep_on, this patch adds lock stealing support to pthread_mutex_trylock. The latter part may change if we decide to go for a dedicates xnsynch trylock service. Maybe we are even lucky