summaryrefslogtreecommitdiff
path: root/src/transport/test_plugin_transport.c
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2013-05-09 09:45:53 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2013-05-09 09:45:53 +0000
commitefad1d6733cd7e75a4e6c846ad7c031a0167b8be (patch)
tree93c8d652b78ae04b5b4a5c8e1e8abe398d4dd8c7 /src/transport/test_plugin_transport.c
parentd96c9d244148f2ee984c206b71987ba6df0ec820 (diff)
- 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.
Diffstat (limited to 'src/transport/test_plugin_transport.c')
-rw-r--r--src/transport/test_plugin_transport.c4
1 files changed, 2 insertions, 2 deletions
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;
}