summaryrefslogtreecommitdiff
path: root/lib/tevent/ABI
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2016-07-29 08:53:59 +0200
committerJeremy Allison <jra@samba.org>2016-08-24 01:33:48 +0200
commit8a9b8ac72461657a3a5de2fd5232eaa9861bf696 (patch)
tree46587574e9189441cd8698e0461b359533b399e6 /lib/tevent/ABI
parentc4ef0c8f3ecc4266fed3af8537ba2998730b3750 (diff)
downloadsamba-8a9b8ac72461657a3a5de2fd5232eaa9861bf696.tar.gz
tevent: Move the async wakeup pipe to common
Signalling the main event loop will also happen from threads soon, and that will use the same mechanism. This also keeps the pipe open after the last signal handler is removed. Threaded jobs will come and go very frequently, and always setting up and tearing down the pipe for each job will be expensive. Also, this is "just" two file descriptors, and with eventfd just one. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib/tevent/ABI')
-rw-r--r--lib/tevent/ABI/tevent-0.9.29.sigs3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/tevent/ABI/tevent-0.9.29.sigs b/lib/tevent/ABI/tevent-0.9.29.sigs
index 135775171ea..4b647419d08 100644
--- a/lib/tevent/ABI/tevent-0.9.29.sigs
+++ b/lib/tevent/ABI/tevent-0.9.29.sigs
@@ -28,10 +28,13 @@ tevent_common_fd_destructor: int (struct tevent_fd *)
tevent_common_fd_get_flags: uint16_t (struct tevent_fd *)
tevent_common_fd_set_close_fn: void (struct tevent_fd *, tevent_fd_close_fn_t)
tevent_common_fd_set_flags: void (struct tevent_fd *, uint16_t)
+tevent_common_have_events: bool (struct tevent_context *)
tevent_common_loop_immediate: bool (struct tevent_context *)
tevent_common_loop_timer_delay: struct timeval (struct tevent_context *)
tevent_common_loop_wait: int (struct tevent_context *, const char *)
tevent_common_schedule_immediate: void (struct tevent_immediate *, struct tevent_context *, tevent_immediate_handler_t, void *, const char *, const char *)
+tevent_common_wakeup: int (struct tevent_context *)
+tevent_common_wakeup_init: int (struct tevent_context *)
tevent_context_init: struct tevent_context *(TALLOC_CTX *)
tevent_context_init_byname: struct tevent_context *(TALLOC_CTX *, const char *)
tevent_context_init_ops: struct tevent_context *(TALLOC_CTX *, const struct tevent_ops *, void *)