All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roland Stigge <stigge@antcom.de>
To: Xenomai@xenomai.org
Subject: [Xenomai] Debian Bug#678695: Xenomai posix skin : bug with pthread_mutex_trylock function
Date: Sun, 24 Jun 2012 13:12:22 +0200	[thread overview]
Message-ID: <4FE6F616.1010900@antcom.de> (raw)

Hi,

I'm forwarding an issue reported to Debian, see below. For further
questions, just ask, and see also:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=678695

Thanks,

Roland


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


             reply	other threads:[~2012-06-24 11:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-24 11:12 Roland Stigge [this message]
2012-06-24 11:56 ` [Xenomai] Debian Bug#678695: Xenomai posix skin : bug with pthread_mutex_trylock function Gilles Chanteperdrix
2012-07-11 16:38   ` Gilles Chanteperdrix

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=4FE6F616.1010900@antcom.de \
    --to=stigge@antcom.de \
    --cc=Xenomai@xenomai.org \
    /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.