summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/thread.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/export/thread.h b/firmware/export/thread.h
index c9132af524..279ea44835 100644
--- a/firmware/export/thread.h
+++ b/firmware/export/thread.h
@@ -119,6 +119,8 @@ struct core_entry {
119 struct thread_entry threads[MAXTHREADS]; 119 struct thread_entry threads[MAXTHREADS];
120 struct thread_entry *running; 120 struct thread_entry *running;
121 struct thread_entry *sleeping; 121 struct thread_entry *sleeping;
122 struct thread_entry *waking;
123 struct thread_entry **wakeup_list;
122#ifdef HAVE_EXTENDED_MESSAGING_AND_NAME 124#ifdef HAVE_EXTENDED_MESSAGING_AND_NAME
123 int switch_to_irq_level; 125 int switch_to_irq_level;
124 #define STAY_IRQ_LEVEL -1 126 #define STAY_IRQ_LEVEL -1
@@ -193,6 +195,7 @@ void set_irq_level_and_block_thread_w_tmo(struct thread_entry **list,
193#endif 195#endif
194#endif 196#endif
195void wakeup_thread(struct thread_entry **thread); 197void wakeup_thread(struct thread_entry **thread);
198void wakeup_thread_irq_safe(struct thread_entry **thread);
196#ifdef HAVE_PRIORITY_SCHEDULING 199#ifdef HAVE_PRIORITY_SCHEDULING
197int thread_set_priority(struct thread_entry *thread, int priority); 200int thread_set_priority(struct thread_entry *thread, int priority);
198int thread_get_priority(struct thread_entry *thread); 201int thread_get_priority(struct thread_entry *thread);