From: Rocke Robertson <rocker@tiger.pwgsc.gc.ca>
Subject: Re: Printf / C / Signal / Re-Entrancy
Date: Fri, 01 Sep 2000 22:23:49 -0400 [thread overview]
Message-ID: <39B064B5.769627F0@tiger.pwgsc.gc.ca> (raw)
In-Reply-To: 8nukfo$476$1@new-usenet.uk.sun.com
What about syslog() ? I've used this with no problems. Maybe it has
problems, but I haven't run into any obvious ones.
"Casper H.S. Dik - Network Security Engineer" wrote:
> [[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]]
>
> moi_is_me <moi_is_me@my-deja.com> writes:
>
> >On most unix's, TRU64 + Solaris in particular, it seems that the
> >documentation says not to invoke printf, and like, whilst in a
> >signal handler.
>
> >If you potentially need to output data from a signal handler, for
> >example, real-time i/o completion, where the system is notifying you
> >that an IP connection has been established, what output methods
> >are available that are Thread/Signal Re-Entrant ?
>
> Plain old system calls (read/write etc).
>
> Casper
> --
> Expressed in this posting are my opinions. They are in no way related
> to opinions held by my employer, Sun Microsystems.
> Statements on Sun products included here are not gospel and may
> be fiction rather than truth.
--
==========================================
Rocke Robertson
PWGSC-GTIS-CPS
Voice (613) 748-4604
Fax (613) 748-4843
mailto:Rocker@tiger.pwgsc.gc.ca
==========================================
next prev parent reply other threads:[~2000-09-02 2:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-07 4:00 Printf / C / Signal / Re-Entrancy moi_is_me
2000-08-22 4:00 ` moi_is_me
2000-08-22 4:00 ` Casper H.S. Dik - Network Security Engineer
2000-09-02 2:23 ` Rocke Robertson [this message]
2000-09-08 6:22 ` Tim Mooney
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox