diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-12-24 01:10:47 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-12-24 01:10:47 +0000 |
commit | f1f603c7d0b3f03dca46a4f313472288eb080eb1 (patch) | |
tree | 3a29966b02dfb83e0a8a8d5c42b3116380209fb0 /src/sensor/test_pow_sign.c | |
parent | 53cd5b8eda2fa8db86b0907a62a39598981d008a (diff) | |
download | gnunet-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/sensor/test_pow_sign.c')
-rw-r--r-- | src/sensor/test_pow_sign.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sensor/test_pow_sign.c b/src/sensor/test_pow_sign.c index 71ab6af81..b3039ff25 100644 --- a/src/sensor/test_pow_sign.c +++ b/src/sensor/test_pow_sign.c | |||
@@ -66,7 +66,7 @@ static int ok = 1; | |||
66 | /** | 66 | /** |
67 | * Task used to shutdown / expire the test | 67 | * Task used to shutdown / expire the test |
68 | */ | 68 | */ |
69 | static GNUNET_SCHEDULER_TaskIdentifier shutdown_task; | 69 | static struct GNUNET_SCHEDULER_Task * shutdown_task; |
70 | 70 | ||
71 | /** | 71 | /** |
72 | * Message to be exchanged | 72 | * Message to be exchanged |