s3/lib: new tevent_glib_glue subsystem
authorRalph Boehme <slow@samba.org>
Wed, 20 Jan 2016 14:08:31 +0000 (15:08 +0100)
committerRalph Boehme <slow@samba.org>
Wed, 24 Apr 2019 18:32:14 +0000 (18:32 +0000)
commitfa39a7b2e6e3fd22d234b2c6c53772b08243db9d
tree04ab9351fad535695488ec0bbb704e3631972087
parent2f87661c568e33ab4f74e3434ffbb7ec49f03203
s3/lib: new tevent_glib_glue subsystem

tevent_glib_glue_create() takes glib GMainContext and adds its event
sources to a tevent context. tevent will poll the sources and run
handlers for pending events as detailed in the glib documentation:

https://developer.gnome.org/glib/stable/glib-The-Main-Event-Loop.html

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
source3/lib/tevent_glib_glue.c [new file with mode: 0644]
source3/lib/tevent_glib_glue.h [new file with mode: 0644]
source3/wscript
source3/wscript_build