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)
committerStefan Metzmacher <metze@samba.org>
Thu, 5 Nov 2015 17:04:23 +0000 (18:04 +0100)
commit49bddd8e4756ef52b05b850aec4864749fcf31cb
tree7f1fe4bbadc0bf92edbdce2abb4071e8f786aa10
parentbb0050a332ceb77382c276d2c8bc3638369c16d0
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.

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