tevent: Add tevent_common_wakeup_fd()
authorVolker Lendecke <vl@samba.org>
Wed, 7 Sep 2016 17:47:55 +0000 (19:47 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 4 Oct 2016 22:06:21 +0000 (00:06 +0200)
commit5b3019cb91f732f95f65c228a2483788f54faa8b
tree2d318bd19f7dbc9f0b954ad7f295ff734f5d89e8
parentd90f325878f8aab5c66ac304e501627040788138
tevent: Add tevent_common_wakeup_fd()

This prepares tevent run-down with active threads.

It has the advantage to not depend on talloc'ed structs. It is needed to make
talloc_free(tevent_context) safe when tevent_threaded_contexts are still
around.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/tevent/ABI/tevent-0.9.30.sigs
lib/tevent/tevent.c
lib/tevent/tevent_internal.h