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/include/gnunet_bandwidth_lib.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/include/gnunet_bandwidth_lib.h')
-rw-r--r-- | src/include/gnunet_bandwidth_lib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/gnunet_bandwidth_lib.h b/src/include/gnunet_bandwidth_lib.h index 9bd037dfa..ad8f3a2b9 100644 --- a/src/include/gnunet_bandwidth_lib.h +++ b/src/include/gnunet_bandwidth_lib.h | |||
@@ -113,7 +113,7 @@ struct GNUNET_BANDWIDTH_Tracker | |||
113 | * Task scheduled to call the @e excess_cb once we have | 113 | * Task scheduled to call the @e excess_cb once we have |
114 | * reached the maximum bandwidth the tracker can hold. | 114 | * reached the maximum bandwidth the tracker can hold. |
115 | */ | 115 | */ |
116 | GNUNET_SCHEDULER_TaskIdentifier excess_task; | 116 | struct GNUNET_SCHEDULER_Task * excess_task; |
117 | 117 | ||
118 | /** | 118 | /** |
119 | * Time when we last updated the tracker. | 119 | * Time when we last updated the tracker. |