From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Konstantinos Chalas <konchalas@gmail.com>
Cc: Xenomai <xenomai@xenomai.org>
Subject: Re: [Xenomai] timer_create( ) example in Xenomai-3
Date: Wed, 9 Sep 2015 15:37:23 +0200 [thread overview]
Message-ID: <20150909133723.GC24499@hermes.click-hack.org> (raw)
In-Reply-To: <55F03436.5040202@gmail.com>
On Wed, Sep 09, 2015 at 03:29:26PM +0200, Konstantinos Chalas wrote:
> For future reference, this is what a working POSIX timer in Xenomai looks
Unfortunately, this code is a very bad reference
- you ignore some function potential errors
- and even in the case you do not ignore them, you do not take
apropriate action.
For instance, if sigwait returns an error, this program will create
instant lockup.
--
Gilles.
https://click-hack.org
next prev parent reply other threads:[~2015-09-09 13:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-07 11:53 [Xenomai] timer_create( ) example in Xenomai-3 Konstantinos Chalas
2015-09-07 12:52 ` Philippe Gerum
2015-09-09 13:29 ` Konstantinos Chalas
2015-09-09 13:37 ` Gilles Chanteperdrix [this message]
2015-09-09 13:53 ` 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=20150909133723.GC24499@hermes.click-hack.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=konchalas@gmail.com \
--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.