Hello,

Recently I came across the implementation of the restart_doit() signal
handler (see also the source file /agent/mibgroup/util_funcs.c). IMHO
it should be documented why this function works: all functions called
by signal handlers must be async-signal safe. It is not clear to me
whether all functions called directly or indirectly from the
restart_doit() signal handler are async-signal safe. See also
http://opengroup.org/onlinepubs/007908775/xsh/sigaction.html for a
list of the functions that are guaranteed to be async-signal safe.

Bart.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to