Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-11-18 14:15:19 +0400
committerFelix Fietkau <nbd@openwrt.org>2013-11-18 15:25:21 +0400
commitbc8167eb99bc6febc96f4dab0bbce32186f30c16 (patch)
tree91d4dbb3a0045a1ab0af58da6c3728ababf44cf3 /runqueue.h
parenta34c8f6918c291275ded2b6fd9b94ac91722ded2 (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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runqueue.h b/runqueue.h
index 00ad1eb..0d4173d 100644
--- a/runqueue.h
+++ b/runqueue.h
@@ -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);