mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-07 08:28:43 +02:00
Wrap waitpid() as a GSource. This is a partial implementation of the "Unix
Sat Feb 14 01:21:34 2004 Matthias Clasen <maclas@gmx.de> * glib/gmain.h: * glib/gmain.c (g_child_watch_source_new): * glib/gmain.c (g_child_watch_add): * glib/gmain.c (g_child_watch_add_full): Wrap waitpid() as a GSource. This is a partial implementation of the "Unix signal source". (#50296, Jonathan R. Blandford) * configure.in: Add the necessary configury to typedef GPid appropriately. * tests/Makefile.am: * tests/child-test.c: Test child_watch sources.
This commit is contained in:
committed by
Matthias Clasen
parent
fff62fd3df
commit
540d02ba8b
@@ -66,6 +66,7 @@ endif
|
||||
test_programs = \
|
||||
array-test \
|
||||
$(CXX_TEST) \
|
||||
child-test \
|
||||
completion-test \
|
||||
date-test \
|
||||
dirname-test \
|
||||
@@ -115,6 +116,7 @@ thread_ldadd = $(libgthread) $(G_THREAD_LIBS) $(progs_ldadd)
|
||||
module_ldadd = $(libgmodule) $(G_MODULE_LIBS) $(progs_ldadd)
|
||||
|
||||
array_test_LDADD = $(progs_ldadd)
|
||||
child_test_LDADD = $(thread_ldadd)
|
||||
completion_test_LDADD = $(progs_ldadd)
|
||||
date_test_LDADD = $(progs_ldadd)
|
||||
dirname_test_LDADD = $(progs_ldadd)
|
||||
|
Reference in New Issue
Block a user