event.c says this:

/* Handle signals - This is a deprecated interface */
int (*event_sigcb)(void);               /* Signal callback when gotsig
is set */
volatile sig_atomic_t event_gotsig;     /* Set in signal handler */

However, the man page says nothing about this.

I guess that despite the lack of guidance in the man page,
the signal_{set,add,del} api functions are the recommended
alternative?

so far as i can see from a quick scan of signal.c, it no priority
is set on the signal socket pair in evsignal_init, and there
appears to be no
way from a public API function to affect it.
So all event callbacks from the public API suffer from the
same default priority of the internal socket pair, and
signal callbacks don't get delivered as soon as an
application would normally like.

Or am I missing something?

-mda
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users

Reply via email to