diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-07-05 15:37:37 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-07-05 15:37:37 +0000 |
commit | 7212c7c42cd154ec6ae6d3450fe8323d91bfeb82 (patch) | |
tree | 6efc497a2dc56a0f2e52b3750ae22d30f6df3dd0 | |
parent | 655eebbc49be80e2661c559ddfee394bd9c9cbfa (diff) | |
download | ChibiOS-7212c7c42cd154ec6ae6d3450fe8323d91bfeb82.tar.gz ChibiOS-7212c7c42cd154ec6ae6d3450fe8323d91bfeb82.tar.bz2 ChibiOS-7212c7c42cd154ec6ae6d3450fe8323d91bfeb82.zip |
Fixed http://forum.chibios.org/phpbb/viewtopic.php?f=2&t=2004
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7007 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/rt/include/chschd.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/os/rt/include/chschd.h b/os/rt/include/chschd.h index a89c49161..28175dc11 100644 --- a/os/rt/include/chschd.h +++ b/os/rt/include/chschd.h @@ -409,6 +409,15 @@ extern "C" { void chSchDoRescheduleBehind(void);
void chSchDoRescheduleAhead(void);
void chSchDoReschedule(void);
+#if !CH_CFG_OPTIMIZE_SPEED
+ void queue_prio_insert(thread_t *tp, threads_queue_t *tqp);
+ void queue_insert(thread_t *tp, threads_queue_t *tqp);
+ thread_t *queue_fifo_remove(threads_queue_t *tqp);
+ thread_t *queue_lifo_remove(threads_queue_t *tqp);
+ thread_t *queue_dequeue(thread_t *tp);
+ void list_insert(thread_t *tp, threads_list_t *tlp);
+ thread_t *list_remove(threads_list_t *tlp);
+#endif /* CH_CFG_OPTIMIZE_SPEED */
#ifdef __cplusplus
}
#endif
|