diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-06-26 17:17:07 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-06-26 17:17:07 +0000 |
commit | 2a8272511874e578501d6a3ff083612fe51ccaaf (patch) | |
tree | d561730a9de3b4d2c935b3478b973f953df49d01 | |
parent | 902d220cb04ce87b13756747d76c399009814d21 (diff) | |
download | gnunet-2a8272511874e578501d6a3ff083612fe51ccaaf.tar.gz gnunet-2a8272511874e578501d6a3ff083612fe51ccaaf.zip |
fix
-rw-r--r-- | src/util/scheduler.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/util/scheduler.c b/src/util/scheduler.c index 26886bb7a..347938c9a 100644 --- a/src/util/scheduler.c +++ b/src/util/scheduler.c | |||
@@ -136,12 +136,6 @@ struct Task | |||
136 | enum GNUNET_SCHEDULER_Priority priority; | 136 | enum GNUNET_SCHEDULER_Priority priority; |
137 | 137 | ||
138 | /** | 138 | /** |
139 | * Priority of the highest task added in the current select | ||
140 | * iteration. | ||
141 | */ | ||
142 | enum GNUNET_SCHEDULER_Priority max_priority_added; | ||
143 | |||
144 | /** | ||
145 | * Set if we only wait for reading from a single FD, otherwise -1. | 139 | * Set if we only wait for reading from a single FD, otherwise -1. |
146 | */ | 140 | */ |
147 | int read_fd; | 141 | int read_fd; |
@@ -221,6 +215,12 @@ struct GNUNET_SCHEDULER_Handle | |||
221 | enum GNUNET_SCHEDULER_Priority current_priority; | 215 | enum GNUNET_SCHEDULER_Priority current_priority; |
222 | 216 | ||
223 | /** | 217 | /** |
218 | * Priority of the highest task added in the current select | ||
219 | * iteration. | ||
220 | */ | ||
221 | enum GNUNET_SCHEDULER_Priority max_priority_added; | ||
222 | |||
223 | /** | ||
224 | * How 'nice' are we right now? | 224 | * How 'nice' are we right now? |
225 | */ | 225 | */ |
226 | int nice_level; | 226 | int nice_level; |