lib: tevent: Initial checkin of threaded tevent context calling code.
authorJeremy Allison <jra@samba.org>
Thu, 23 Jul 2015 22:23:50 +0000 (15:23 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 18 Apr 2016 10:59:26 +0000 (12:59 +0200)
commit46d3bb7b8360ef36c80031752c7581a747d5a569
treede3f163ffc358c42188d54617cc00aab53d5a229
parent4882bdec1a70be79b610305a639aab4a64d95400
lib: tevent: Initial checkin of threaded tevent context calling code.

Adds 2 new functions:

struct tevent_thread_proxy *tevent_thread_proxy_create(
                struct tevent_context *dest_ev_ctx);

void tevent_thread_proxy_schedule(struct tevent_thread_proxy *tp,
struct tevent_immediate **pp_im,
tevent_immediate_handler_t handler,
void *pp_private_data);

Brief doc included. Tests, docs and tutorial to follow.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=11771

Signed-off-by: Jeremy Allison <jra@samba.org>
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 49bddd8e4756ef52b05b850aec4864749fcf31cb)
lib/tevent/tevent.h
lib/tevent/tevent_threads.c [new file with mode: 0644]
lib/tevent/wscript