summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2010-12-29 13:53:30 +0000
committerMichael Sevakis <jethead71@rockbox.org>2010-12-29 13:53:30 +0000
commita24b140c0bb1d16257c16b1711d2c3ea5f3a713b (patch)
treeb5846f1e679aedf163221a60bfd80eea41adfdec
parentdf3c3aeee9e8934000f519a0b35928196baeb254 (diff)
downloadrockbox-a24b140c0bb1d16257c16b1711d2c3ea5f3a713b.tar.gz
rockbox-a24b140c0bb1d16257c16b1711d2c3ea5f3a713b.zip
Just a technical matter even though all is well anyway: struct blocker::thread should be volatile for > 1 core and the change should make no difference to anything for 1 core.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28923 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/thread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/thread.h b/firmware/export/thread.h
index ba777dc3d1..3cce78444c 100644
--- a/firmware/export/thread.h
+++ b/firmware/export/thread.h
@@ -201,8 +201,8 @@ struct thread_list
201#ifdef HAVE_PRIORITY_SCHEDULING 201#ifdef HAVE_PRIORITY_SCHEDULING
202struct blocker 202struct blocker
203{ 203{
204 struct thread_entry *thread; /* thread blocking other threads 204 struct thread_entry * volatile thread; /* thread blocking other threads
205 (aka. object owner) */ 205 (aka. object owner) */
206 int priority; /* highest priority waiter */ 206 int priority; /* highest priority waiter */
207 struct thread_entry * (*wakeup_protocol)(struct thread_entry *thread); 207 struct thread_entry * (*wakeup_protocol)(struct thread_entry *thread);
208}; 208};