From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Roland Stigge <stigge@antcom.de>
Cc: 678695@bugs.debian.org, duch.alexandre@gmail.com, Xenomai@xenomai.org
Subject: Re: [Xenomai] Debian Bug#678695: Xenomai posix skin : bug with pthread_mutex_trylock function
Date: Wed, 11 Jul 2012 18:38:29 +0200 [thread overview]
Message-ID: <4FFDAC05.6080305@xenomai.org> (raw)
In-Reply-To: <4FE70080.6020109@xenomai.org>
On 06/24/2012 01:56 PM, Gilles Chanteperdrix wrote:
> On 06/24/2012 01:12 PM, Roland Stigge wrote:
>> Original Report (the report at the above link contains the example file):
>>
>> 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.alexandre@gmail.com
>
> pthread_mutex_trylock is know to be broken in Xenomai 2.6.0, this has
> been fixed in xenomai current development branch. See patches:
> http://git.xenomai.org/?p=xenomai-2.6.git;a=commitdiff;h=a0822a77ba383dac832253e6f0ca3431860a5661;hp=b3af76a4dc4cc2282fb83cdfeb9c454a1242a125
> http://git.xenomai.org/?p=xenomai-2.6.git;a=commitdiff;h=de094a9e580511eb2dfdc0cee78bf92c959e2c55;hp=28256f3937c80f25fd6f49394a4ffb5d7b3179c7
>
This should be fixed in the just released Xenomai 2.6.1.
--
Gilles.
prev parent reply other threads:[~2012-07-11 16:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-24 11:12 [Xenomai] Debian Bug#678695: Xenomai posix skin : bug with pthread_mutex_trylock function Roland Stigge
2012-06-24 11:56 ` Gilles Chanteperdrix
2012-07-11 16:38 ` Gilles Chanteperdrix [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FFDAC05.6080305@xenomai.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=678695@bugs.debian.org \
--cc=Xenomai@xenomai.org \
--cc=duch.alexandre@gmail.com \
--cc=stigge@antcom.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.