All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel Merrill" <daniel.merrill@psware.com>
To: 'Philippe Gerum' <rpm@xenomai.org>, xenomai@xenomai.org
Subject: Re: [Xenomai] t_suspend and XNBREAK
Date: Wed, 9 Oct 2013 09:37:09 -0700 (MST)	[thread overview]
Message-ID: <8fed609f.0000172c.00000017@dmerrill_win764.PERF.PERFORMANCESOFTWARE> (raw)
In-Reply-To: <52558563.2010408@xenomai.org>

On 10/09/2013 06:29 PM, Daniel Merrill wrote:
> All,
>
>
>
> I'm hoping maybe someone can shed a little more light on the issue we 
> see occasionally. Occasionally our code using the psos+ skin will fail 
> a
> t_suspend(0) with error code -4, which I found to be EINTR and appears 
> to be set if the XNBREAK flag is set. After digging around in the 
> documentation I found some references that seem to indicate that this 
> means the thread was forcibly unblocked for some reason. Is there some 
> way to diagnose what caused this (I'm having trouble pinpointing 
> anything)? It appears when debugging that the thread never really 
> suspends at all but returns immediately from the call. Does anyone 
> have some pointers on what might be a good place to start looking for
the culprit? Thanks in advance.

Are you tracing the application with GDB?

We are using GDB to diagnose problems, can this cause the issue?
>
>
>
>
>
> Dan Merrill
>
> _______________________________________________
> Xenomai mailing list
> Xenomai@xenomai.org
> http://www.xenomai.org/mailman/listinfo/xenomai
>


--
Philippe.


  reply	other threads:[~2013-10-09 16:37 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-09 16:29 [Xenomai] t_suspend and XNBREAK Daniel Merrill
2013-10-09 16:33 ` Philippe Gerum
2013-10-09 16:37   ` Daniel Merrill [this message]
2013-10-09 16:43     ` Philippe Gerum
2013-10-09 17:01       ` Daniel Merrill
2013-10-16 18:30         ` Daniel Merrill
2013-10-21 18:21           ` Daniel Merrill
2013-10-22 13:46             ` Philippe Gerum
2013-10-22 14:49               ` Gilles Chanteperdrix
2013-10-22 16:53                 ` Philippe Gerum
2013-10-22 22:10                   ` Daniel Merrill
2013-10-23 17:31                     ` Philippe Gerum
2013-10-23 23:11                       ` Daniel Merrill
2013-10-24 10:03                         ` Philippe Gerum
2013-10-24 15:52                           ` Daniel Merrill
2013-10-24 18:24                           ` Daniel Merrill
2013-10-22 16:50               ` Daniel Merrill
2014-05-20 12:52           ` Philippe Gerum

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=8fed609f.0000172c.00000017@dmerrill_win764.PERF.PERFORMANCESOFTWARE \
    --to=daniel.merrill@psware.com \
    --cc=rpm@xenomai.org \
    --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.