From efad1d6733cd7e75a4e6c846ad7c031a0167b8be Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Thu, 9 May 2013 09:45:53 +0000 Subject: - complement HELPER API with functions to kill and wait on the helper process - To shutdown quickly, have testbed first kill all sub-controller's helper processes first and wait later instead of kill & wait per each processes. --- src/transport/test_plugin_transport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/transport/test_plugin_transport.c') diff --git a/src/transport/test_plugin_transport.c b/src/transport/test_plugin_transport.c index 58fd07c78..9b1760919 100644 --- a/src/transport/test_plugin_transport.c +++ b/src/transport/test_plugin_transport.c @@ -186,7 +186,7 @@ end () if (NULL != suid_helper) { - GNUNET_HELPER_stop (suid_helper); + GNUNET_HELPER_stop (suid_helper, GNUNET_NO); suid_helper = NULL; } } @@ -252,7 +252,7 @@ end_badly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) if (NULL != suid_helper) { - GNUNET_HELPER_stop (suid_helper); + GNUNET_HELPER_stop (suid_helper, GNUNET_NO); suid_helper = NULL; } -- cgit v1.2.3