aboutsummaryrefslogtreecommitdiff
path: root/src/dht/test_dht_topo.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-12-24 01:10:47 +0000
committerChristian Grothoff <christian@grothoff.org>2014-12-24 01:10:47 +0000
commitf1f603c7d0b3f03dca46a4f313472288eb080eb1 (patch)
tree3a29966b02dfb83e0a8a8d5c42b3116380209fb0 /src/dht/test_dht_topo.c
parent53cd5b8eda2fa8db86b0907a62a39598981d008a (diff)
downloadgnunet-f1f603c7d0b3f03dca46a4f313472288eb080eb1.tar.gz
gnunet-f1f603c7d0b3f03dca46a4f313472288eb080eb1.zip
making GNUNET_SCHEDULER_cancel() perform in O(1) instead of O(n) to help or even fully address #3247
Diffstat (limited to 'src/dht/test_dht_topo.c')
-rw-r--r--src/dht/test_dht_topo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dht/test_dht_topo.c b/src/dht/test_dht_topo.c
index 311bb5597..9bd87b21e 100644
--- a/src/dht/test_dht_topo.c
+++ b/src/dht/test_dht_topo.c
@@ -71,12 +71,12 @@ static int ok = 1;
71/** 71/**
72 * Task to do DHT_puts 72 * Task to do DHT_puts
73 */ 73 */
74static GNUNET_SCHEDULER_TaskIdentifier put_task; 74static struct GNUNET_SCHEDULER_Task * put_task;
75 75
76/** 76/**
77 * Task to time out / regular shutdown. 77 * Task to time out / regular shutdown.
78 */ 78 */
79static GNUNET_SCHEDULER_TaskIdentifier timeout_task; 79static struct GNUNET_SCHEDULER_Task * timeout_task;
80 80
81/** 81/**
82 * Head of list of active GET operations. 82 * Head of list of active GET operations.