summaryrefslogtreecommitdiff
path: root/firmware/export/thread.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2006-12-16 18:35:12 +0000
committerMichael Sevakis <jethead71@rockbox.org>2006-12-16 18:35:12 +0000
commit43c15921e42ad56f315ad2f54ce6fa52e02d3b41 (patch)
tree95d64629e7b34789fde0c36a77dad0678d0502ef /firmware/export/thread.h
parent63a1cb52b43854848171334379f2ed9d4fe47837 (diff)
downloadrockbox-43c15921e42ad56f315ad2f54ce6fa52e02d3b41.zip
rockbox-43c15921e42ad56f315ad2f54ce6fa52e02d3b41.tar.gz
rockbox-43c15921e42ad56f315ad2f54ce6fa52e02d3b41.tar.bz2
rockbox-43c15921e42ad56f315ad2f54ce6fa52e02d3b41.tar.xz
Add queue_send synchronous message sending. Right now only for SWCODEC. Actual usage to be added to playback and recording shortly in upcoming commits.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11776 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/thread.h')
-rw-r--r--firmware/export/thread.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/export/thread.h b/firmware/export/thread.h
index 0c1567d..b079628 100644
--- a/firmware/export/thread.h
+++ b/firmware/export/thread.h
@@ -143,6 +143,13 @@ void switch_thread(bool save_context, struct thread_entry **blocked_list);
void sleep_thread(int ticks);
void block_thread(struct thread_entry **thread);
void block_thread_w_tmo(struct thread_entry **thread, int timeout);
+#ifdef HAVE_EXTENDED_MESSAGING_AND_NAME
+void set_irq_level_and_block_thread(struct thread_entry **thread, int level);
+#if 0
+void set_irq_level_and_block_thread_w_tmo(struct thread_entry **list,
+ int timeout, int level)
+#endif
+#endif
void wakeup_thread(struct thread_entry **thread);
#ifdef HAVE_PRIORITY_SCHEDULING
int thread_set_priority(struct thread_entry *thread, int priority);