diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2002-06-29 21:19:55 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2002-06-29 21:19:55 +0000 |
commit | 2a73cec69bf7b372377f79ef561985816148b1af (patch) | |
tree | f53e50110ff9069c8c2ac4018e2fa4e1444c2c8e /firmware/API | |
parent | eb102e1a239d75f4eaf34398c0dbb29c0bc50c84 (diff) | |
download | rockbox-2a73cec69bf7b372377f79ef561985816148b1af.tar.gz rockbox-2a73cec69bf7b372377f79ef561985816148b1af.zip |
Added queue_broadcast()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1253 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/API')
-rw-r--r-- | firmware/API | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/API b/firmware/API index c74aa20b0d..05d7d20961 100644 --- a/firmware/API +++ b/firmware/API | |||
@@ -238,6 +238,11 @@ Various | |||
238 | 238 | ||
239 | Returns true if the queue is empty. | 239 | Returns true if the queue is empty. |
240 | 240 | ||
241 | int queue_broadcast(int id, void *data) | ||
242 | |||
243 | Posts an event in all queues that has been initiated with queue_init(). | ||
244 | Returns the number of queues that were posted to. | ||
245 | |||
241 | int tick_add_task(void (*f)(void)) | 246 | int tick_add_task(void (*f)(void)) |
242 | 247 | ||
243 | Add a task to the tick task queue. The argument is a pointer to a | 248 | Add a task to the tick task queue. The argument is a pointer to a |