diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-04-30 08:17:37 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-04-30 08:17:37 +0000 |
commit | 95f9076a2139f5fb042b944a0658b6cda2fa35db (patch) | |
tree | b0826a2a1dcf812e6b4450fe6b05d47cd53ae49d /src/datastore/perf_datastore_api.c | |
parent | 7746f68db77b9ca3c4aaca24ab2ce5253461240b (diff) | |
download | gnunet-95f9076a2139f5fb042b944a0658b6cda2fa35db.tar.gz gnunet-95f9076a2139f5fb042b944a0658b6cda2fa35db.zip |
implementing new scheduler shutdown semantics
Diffstat (limited to 'src/datastore/perf_datastore_api.c')
-rw-r--r-- | src/datastore/perf_datastore_api.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/datastore/perf_datastore_api.c b/src/datastore/perf_datastore_api.c index 41cac1283..97774198c 100644 --- a/src/datastore/perf_datastore_api.c +++ b/src/datastore/perf_datastore_api.c | |||
@@ -351,11 +351,7 @@ run_continuation (void *cls) | |||
351 | static struct GNUNET_HashCode key; | 351 | static struct GNUNET_HashCode key; |
352 | static char data[65536]; | 352 | static char data[65536]; |
353 | char gstr[128]; | 353 | char gstr[128]; |
354 | const struct GNUNET_SCHEDULER_TaskContext *tc; | ||
355 | 354 | ||
356 | tc = GNUNET_SCHEDULER_get_task_context (); | ||
357 | if (0 != (tc->reason & GNUNET_SCHEDULER_REASON_SHUTDOWN)) | ||
358 | crc->phase = RP_ERROR; | ||
359 | ok = (int) crc->phase; | 355 | ok = (int) crc->phase; |
360 | switch (crc->phase) | 356 | switch (crc->phase) |
361 | { | 357 | { |