From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <444E61F0.9000606@domain.hid> Date: Tue, 25 Apr 2006 19:52:48 +0200 From: Philippe Gerum MIME-Version: 1.0 Subject: Re: [Xenomai-help] syslog safe? References: <20060425134048.D5934@domain.hid> In-Reply-To: <20060425134048.D5934@domain.hid> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kent Borg Cc: xenomai@xenomai.org 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.