Rev 1864 | Rev 2000 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1864 | Rev 1880 | ||
---|---|---|---|
Line 65... | Line 65... | ||
65 | /** B+tree of active tasks. |
65 | /** B+tree of active tasks. |
66 | * |
66 | * |
67 | * The task is guaranteed to exist after it was found in the tasks_btree as long as: |
67 | * The task is guaranteed to exist after it was found in the tasks_btree as long as: |
68 | * @li the tasks_lock is held, |
68 | * @li the tasks_lock is held, |
69 | * @li the task's lock is held when task's lock is acquired before releasing tasks_lock or |
69 | * @li the task's lock is held when task's lock is acquired before releasing tasks_lock or |
70 | * @li the task's refcount is grater than 0 |
70 | * @li the task's refcount is greater than 0 |
71 | * |
71 | * |
72 | */ |
72 | */ |
73 | btree_t tasks_btree; |
73 | btree_t tasks_btree; |
74 | 74 | ||
75 | static task_id_t task_counter = 0; |
75 | static task_id_t task_counter = 0; |