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
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