All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: "Rubén González del Pozo" <rubengp@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] Error in pthread_make_periodic_np
Date: Wed, 04 Nov 2009 19:15:13 +0100	[thread overview]
Message-ID: <4AF1C4B1.3020400@domain.hid> (raw)
In-Reply-To: <45435.172.20.62.191.1257358048.squirrel@domain.hid>

Rubén González del Pozo wrote:
> Hello all,
> I am working with Xenomai 2.4.9.1 on Kernel 2.6.30. I try to test the
> pperiodic example and I always get the error code 3 in
> pthread_make_periodic_np function: ESRCH -> invalid thread.
> Why I get that code?
> Thanks a lot,

It is hard to say why it fails, with such a sloppy code. Please check
the return values of ALL the posix services, not only
pthread_make_periodic_np.

-- 
					    Gilles.



      reply	other threads:[~2009-11-04 18:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-04 18:07 [Xenomai-core] Error in pthread_make_periodic_np Rubén González del Pozo
2009-11-04 18:15 ` 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=4AF1C4B1.3020400@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=rubengp@domain.hid \
    --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.