Problem in tevent_signal

Volker Lendecke Volker.Lendecke at SerNet.DE
Sat Jan 28 13:13:00 MST 2012


Destroying a tevent_signal event from within its handler
isn't supported right now. See the following code sequence
from tevent_signal.c:

        se->handler(ev, se, i, count, NULL, se->private_data);
        if (se->sa_flags & SA_RESETHAND) {

The signal handler might be gone after it was executed.

The trick used in tevent_timed is probably not really
appropriate, we might run the same event more than once.

Working on it, maybe someone else has a bright idea how to
solve this.


SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen, mailto:kontakt at

More information about the samba-technical mailing list