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/set/gnunet-service-set.h | |
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/set/gnunet-service-set.h')
-rw-r--r-- | src/set/gnunet-service-set.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/set/gnunet-service-set.h b/src/set/gnunet-service-set.h index b2904dc06..d1b957e73 100644 --- a/src/set/gnunet-service-set.h +++ b/src/set/gnunet-service-set.h | |||
@@ -366,7 +366,7 @@ struct Operation | |||
366 | * Timeout task, if the incoming peer has not been accepted | 366 | * Timeout task, if the incoming peer has not been accepted |
367 | * after the timeout, it will be disconnected. | 367 | * after the timeout, it will be disconnected. |
368 | */ | 368 | */ |
369 | GNUNET_SCHEDULER_TaskIdentifier timeout_task; | 369 | struct GNUNET_SCHEDULER_Task * timeout_task; |
370 | 370 | ||
371 | /** | 371 | /** |
372 | * Unique request id for the request from a remote peer, sent to the | 372 | * Unique request id for the request from a remote peer, sent to the |