aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/test_datastore_api_management.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-11-04 14:10:32 +0000
committerChristian Grothoff <christian@grothoff.org>2009-11-04 14:10:32 +0000
commitcf45b8dff29c366d51aa2e6ea6a64b99b514b9c9 (patch)
tree5cb37c041743daff5af528dbbe24f5c563ce702e /src/datastore/test_datastore_api_management.c
parentb91546a3de767292e6472c6b1927480adba43d88 (diff)
downloadgnunet-cf45b8dff29c366d51aa2e6ea6a64b99b514b9c9.tar.gz
gnunet-cf45b8dff29c366d51aa2e6ea6a64b99b514b9c9.zip
bugfixes and redesigning scheduler API
Diffstat (limited to 'src/datastore/test_datastore_api_management.c')
-rw-r--r--src/datastore/test_datastore_api_management.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/datastore/test_datastore_api_management.c b/src/datastore/test_datastore_api_management.c
index 48daebb1d..cad789a6f 100644
--- a/src/datastore/test_datastore_api_management.c
+++ b/src/datastore/test_datastore_api_management.c
@@ -133,7 +133,6 @@ check_success (void *cls,
133 GNUNET_free_non_null (crc->data); 133 GNUNET_free_non_null (crc->data);
134 crc->data = NULL; 134 crc->data = NULL;
135 GNUNET_SCHEDULER_add_continuation (crc->sched, 135 GNUNET_SCHEDULER_add_continuation (crc->sched,
136 GNUNET_NO,
137 &run_continuation, 136 &run_continuation,
138 crc, 137 crc,
139 GNUNET_SCHEDULER_REASON_PREREQ_DONE); 138 GNUNET_SCHEDULER_REASON_PREREQ_DONE);
@@ -171,7 +170,6 @@ check_value (void *cls,
171 if (0 == crc->i) 170 if (0 == crc->i)
172 crc->phase = RP_DONE; 171 crc->phase = RP_DONE;
173 GNUNET_SCHEDULER_add_continuation (crc->sched, 172 GNUNET_SCHEDULER_add_continuation (crc->sched,
174 GNUNET_NO,
175 &run_continuation, 173 &run_continuation,
176 crc, 174 crc,
177 GNUNET_SCHEDULER_REASON_PREREQ_DONE); 175 GNUNET_SCHEDULER_REASON_PREREQ_DONE);
@@ -206,7 +204,6 @@ check_nothing (void *cls,
206 if (0 == --crc->i) 204 if (0 == --crc->i)
207 crc->phase = RP_DONE; 205 crc->phase = RP_DONE;
208 GNUNET_SCHEDULER_add_continuation (crc->sched, 206 GNUNET_SCHEDULER_add_continuation (crc->sched,
209 GNUNET_NO,
210 &run_continuation, 207 &run_continuation,
211 crc, 208 crc,
212 GNUNET_SCHEDULER_REASON_PREREQ_DONE); 209 GNUNET_SCHEDULER_REASON_PREREQ_DONE);
@@ -310,7 +307,6 @@ run (void *cls,
310 now = GNUNET_TIME_absolute_get (); 307 now = GNUNET_TIME_absolute_get ();
311 datastore = GNUNET_DATASTORE_connect (cfg, sched); 308 datastore = GNUNET_DATASTORE_connect (cfg, sched);
312 GNUNET_SCHEDULER_add_continuation (crc->sched, 309 GNUNET_SCHEDULER_add_continuation (crc->sched,
313 GNUNET_NO,
314 &run_continuation, 310 &run_continuation,
315 crc, 311 crc,
316 GNUNET_SCHEDULER_REASON_PREREQ_DONE); 312 GNUNET_SCHEDULER_REASON_PREREQ_DONE);
@@ -340,7 +336,6 @@ check ()
340 "-L", "DEBUG", 336 "-L", "DEBUG",
341#endif 337#endif
342 "-c", "test_datastore_api_data.conf", NULL); 338 "-c", "test_datastore_api_data.conf", NULL);
343 sleep (1);
344 GNUNET_PROGRAM_run ((sizeof (argv) / sizeof (char *)) - 1, 339 GNUNET_PROGRAM_run ((sizeof (argv) / sizeof (char *)) - 1,
345 argv, "test-datastore-api", "nohelp", 340 argv, "test-datastore-api", "nohelp",
346 options, &run, NULL); 341 options, &run, NULL);