Rev 1221 | Rev 1248 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1221 | Rev 1229 | ||
|---|---|---|---|
| Line 237... | Line 237... | ||
| 237 | * |
237 | * |
| 238 | * Prevent low priority threads from starving in rq's. |
238 | * Prevent low priority threads from starving in rq's. |
| 239 | * |
239 | * |
| 240 | * When the function decides to relink rq's, it reconnects |
240 | * When the function decides to relink rq's, it reconnects |
| 241 | * respective pointers so that in result threads with 'pri' |
241 | * respective pointers so that in result threads with 'pri' |
| 242 | * greater or equal 'start' are moved to a higher-priority queue. |
242 | * greater or equal @start are moved to a higher-priority queue. |
| 243 | * |
243 | * |
| 244 | * @param start Threshold priority. |
244 | * @param start Threshold priority. |
| 245 | * |
245 | * |
| 246 | */ |
246 | */ |
| 247 | static void relink_rq(int start) |
247 | static void relink_rq(int start) |