diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-11-08 13:03:19 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-11-08 13:03:19 +0000 |
commit | c5b4eaa5e50c1c34f74852ff001772663b0b586a (patch) | |
tree | b9a8fee10db372b14a9f9153b60c54a414d264b7 /src/testbed/gnunet-testbed-profiler.c | |
parent | 8ccaf285bc9abc7b9e224fa106656c874c3294ef (diff) | |
download | gnunet-c5b4eaa5e50c1c34f74852ff001772663b0b586a.tar.gz gnunet-c5b4eaa5e50c1c34f74852ff001772663b0b586a.zip |
-starting build system for consensus
Diffstat (limited to 'src/testbed/gnunet-testbed-profiler.c')
-rw-r--r-- | src/testbed/gnunet-testbed-profiler.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/testbed/gnunet-testbed-profiler.c b/src/testbed/gnunet-testbed-profiler.c index 99efa6741..9bfeaddd2 100644 --- a/src/testbed/gnunet-testbed-profiler.c +++ b/src/testbed/gnunet-testbed-profiler.c | |||
@@ -297,9 +297,6 @@ do_abort (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
297 | } | 297 | } |
298 | 298 | ||
299 | 299 | ||
300 | |||
301 | |||
302 | |||
303 | /** | 300 | /** |
304 | * Functions of this signature are called when a peer has been successfully | 301 | * Functions of this signature are called when a peer has been successfully |
305 | * started or stopped. | 302 | * started or stopped. |
@@ -335,7 +332,9 @@ peer_churn_cb (void *cls, const char *emsg) | |||
335 | fflush (stdout); | 332 | fflush (stdout); |
336 | result = GNUNET_OK; | 333 | result = GNUNET_OK; |
337 | if ((0 == num_links) && (topology == GNUNET_TESTBED_TOPOLOGY_ERDOS_RENYI)) | 334 | if ((0 == num_links) && (topology == GNUNET_TESTBED_TOPOLOGY_ERDOS_RENYI)) |
338 | { | 335 | { |
336 | fprintf (stdout, "Testbed running, waiting for keystroke to shut down\n"); | ||
337 | (void) getc (stdin); | ||
339 | shutdown_task = GNUNET_SCHEDULER_add_now (&do_shutdown, NULL); | 338 | shutdown_task = GNUNET_SCHEDULER_add_now (&do_shutdown, NULL); |
340 | return; | 339 | return; |
341 | } | 340 | } |
@@ -562,6 +561,8 @@ controller_event_cb (void *cls, | |||
562 | { | 561 | { |
563 | print_overlay_links_summary (); | 562 | print_overlay_links_summary (); |
564 | result = GNUNET_OK; | 563 | result = GNUNET_OK; |
564 | fprintf (stdout, "Testbed running, waiting for keystroke to shut down\n"); | ||
565 | (void) getc (stdin); | ||
565 | shutdown_task = GNUNET_SCHEDULER_add_now (&do_shutdown, NULL); | 566 | shutdown_task = GNUNET_SCHEDULER_add_now (&do_shutdown, NULL); |
566 | } | 567 | } |
567 | break; | 568 | break; |