Package: xenomai
Version: 2.6.0

Kernel:2.6.38.8 - Xenomai:2.6.0
arch:i686 i386 GNU/Linux
Hi,

The attached code shows a malfunction of the pthread_mutex_trylock function.

Description of test.c:
The main task takes the mutex during 1second while the 't1' task tries
to take this mutex from 0.5sc.
We can notice that with the posix skin of xenomai, t1 never succeeded
to take the mutex, which is not the case without the posix skin of
xenomai.

Duchesne Alexandre
duch.alexan...@gmail.com

Attachment: test-pthread_mutex_trylock.tar.bz2
Description: BZip2 compressed data

Reply via email to