diff options
author | John Crispin <blogic@openwrt.org> | 2013-11-18 14:15:19 +0400 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-11-18 15:25:21 +0400 |
commit | bc8167eb99bc6febc96f4dab0bbce32186f30c16 (patch) | |
tree | 91d4dbb3a0045a1ab0af58da6c3728ababf44cf3 /runqueue.h | |
parent | a34c8f6918c291275ded2b6fd9b94ac91722ded2 (diff) |
runqueue: add a function that allows adding jobs to the front of the runqueue
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'runqueue.h')
-rw-r--r-- | runqueue.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -100,6 +100,7 @@ void runqueue_stop(struct runqueue *q); void runqueue_resume(struct runqueue *q); void runqueue_task_add(struct runqueue *q, struct runqueue_task *t, bool running); +void runqueue_task_add_first(struct runqueue *q, struct runqueue_task *t, bool running); void runqueue_task_complete(struct runqueue_task *t); void runqueue_task_cancel(struct runqueue_task *t, int type); |