diff options
author | Ralph Boehme <slow@samba.org> | 2016-01-20 15:08:31 +0100 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2019-04-24 18:32:14 +0000 |
commit | fa39a7b2e6e3fd22d234b2c6c53772b08243db9d (patch) | |
tree | 04ab9351fad535695488ec0bbb704e3631972087 /source3/wscript_build | |
parent | 2f87661c568e33ab4f74e3434ffbb7ec49f03203 (diff) | |
download | samba-fa39a7b2e6e3fd22d234b2c6c53772b08243db9d.tar.gz |
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>
Diffstat (limited to 'source3/wscript_build')
-rw-r--r-- | source3/wscript_build | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/wscript_build b/source3/wscript_build index 5f9c2593949..6a28a05f1f2 100644 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -1074,6 +1074,12 @@ bld.SAMBA3_SUBSYSTEM('SPOOLSSD', RPC_SOCK_HELPER ''') +bld.SAMBA3_SUBSYSTEM('tevent-glib-glue', + source='lib/tevent_glib_glue.c', + deps='glib-2.0', + enabled=bld.CONFIG_SET('WITH_TEVENT_GLIB_GLUE'), +) + ########################## BINARIES ################################# bld.SAMBA3_BINARY('smbd/smbd', |