diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2013-05-09 09:45:53 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2013-05-09 09:45:53 +0000 |
commit | efad1d6733cd7e75a4e6c846ad7c031a0167b8be (patch) | |
tree | 93c8d652b78ae04b5b4a5c8e1e8abe398d4dd8c7 /src/testbed/testbed_api_hosts.h | |
parent | d96c9d244148f2ee984c206b71987ba6df0ec820 (diff) | |
download | gnunet-efad1d6733cd7e75a4e6c846ad7c031a0167b8be.tar.gz gnunet-efad1d6733cd7e75a4e6c846ad7c031a0167b8be.zip |
- 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/testbed/testbed_api_hosts.h')
-rw-r--r-- | src/testbed/testbed_api_hosts.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/testbed/testbed_api_hosts.h b/src/testbed/testbed_api_hosts.h index 56cca624b..3cef4412a 100644 --- a/src/testbed/testbed_api_hosts.h +++ b/src/testbed/testbed_api_hosts.h | |||
@@ -233,5 +233,25 @@ GNUNET_TESTBED_host_handle_addhostconfirm_ (struct GNUNET_TESTBED_Controller *c, | |||
233 | GNUNET_TESTBED_HostConfirmedMessage | 233 | GNUNET_TESTBED_HostConfirmedMessage |
234 | *msg); | 234 | *msg); |
235 | 235 | ||
236 | |||
237 | /** | ||
238 | * Sends termination signal to the controller's helper process | ||
239 | * | ||
240 | * @param cproc the handle to the controller's helper process | ||
241 | */ | ||
242 | void | ||
243 | GNUNET_TESTBED_controller_kill_ (struct GNUNET_TESTBED_ControllerProc *cproc); | ||
244 | |||
245 | |||
246 | /** | ||
247 | * Cleans-up the controller's helper process handle | ||
248 | * | ||
249 | * @param cproc the handle to the controller's helper process | ||
250 | */ | ||
251 | void | ||
252 | GNUNET_TESTBED_controller_destroy_ (struct GNUNET_TESTBED_ControllerProc | ||
253 | *cproc); | ||
254 | |||
255 | |||
236 | #endif | 256 | #endif |
237 | /* end of testbed_api_hosts.h */ | 257 | /* end of testbed_api_hosts.h */ |