From: Philippe Gerum <rpm@xenomai.org>
To: Kent Borg <kentborg@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] syslog safe?
Date: Tue, 25 Apr 2006 19:52:48 +0200 [thread overview]
Message-ID: <444E61F0.9000606@domain.hid> (raw)
In-Reply-To: <20060425134048.D5934@domain.hid>
Kent Borg wrote:
> Is syslog() safe to call from real time userland code? (If not, what
> is the right way to do such output?)
No problem using it, but it will trigger an automatic switch to
secondary mode in order to issue the right Linux syscalls. The thread
will switch back to primary automatically again as soon as a (usually
blocking) Xenomai syscall is issued.
--
Philippe.
next prev parent reply other threads:[~2006-04-25 17:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-25 17:40 [Xenomai-help] syslog safe? Kent Borg
2006-04-25 17:52 ` Philippe Gerum [this message]
2006-04-25 18:37 ` Kent Borg
2006-04-25 20:58 ` 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=444E61F0.9000606@domain.hid \
--to=rpm@xenomai.org \
--cc=kentborg@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.