aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2012-05-07 13:28:04 +0000
committerBart Polot <bart@net.in.tum.de>2012-05-07 13:28:04 +0000
commit73049aa8a01d9192f9288f03c7acd79f05246177 (patch)
treee53928ea0c18491f31ff5efba0103bc810c4c86b /src
parent2e7a6b023989a31954928972150e6ee4d10e06df (diff)
- Added FIXMEs
Diffstat (limited to 'src')
-rw-r--r--src/testing/testing.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/testing/testing.c b/src/testing/testing.c
index d9956cd665..7fed332063 100644
--- a/src/testing/testing.c
+++ b/src/testing/testing.c
@@ -478,6 +478,7 @@ start_fsm (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
d->task =
GNUNET_SCHEDULER_add_delayed (GNUNET_CONSTANTS_EXEC_WAIT, &start_fsm,
d);
+ // FIXME: busy wait?
break;
case SP_START_ARMING:
if (GNUNET_OK != GNUNET_OS_process_status (d->proc_arm_start, &type, &code))
@@ -515,6 +516,7 @@ start_fsm (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
d->task =
GNUNET_SCHEDULER_add_delayed (GNUNET_CONSTANTS_EXEC_WAIT, &start_fsm,
d);
+ // FIXME: busy wait?
return;
}
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Successfully started `%s'.\n",
@@ -1410,7 +1412,7 @@ GNUNET_TESTING_daemon_stop_service (struct GNUNET_TESTING_Daemon *d,
static void
kill_and_close_process (struct GNUNET_OS_Process *proc)
{
- (void) GNUNET_OS_process_kill (proc, SIGKILL);
+ (void) GNUNET_OS_process_kill (proc, SIGKILL);
GNUNET_break (GNUNET_OK == GNUNET_OS_process_wait (proc));
GNUNET_OS_process_close (proc);
}