Kai Moritz wrote:
> Hello folks,
> 
> I'm using Xenomai 2.0.1 with Linux 2.6.14 and ipipe. I've a strange
> problem using mutex-locks. Repeted calls to rt_mutex_lock with
> TM_NONBLOCK on the same mutex return always 0, which means lock
> successfully aquired, if I understand the API-documentation right.
> I've attached a small programm to test that behavior and the
> log-messages it produces on my machine. Perhaps anyone has a hint, what
> I'm doing wrong...

Does the same thread lock this mutex over and over again (I did not look
at your code yet)? If so, note that mutexes can be acquired recursively
by the original owner.

Jan


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to