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)
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
#ifdef HAVE_PRIORITY_SCHEDULING
struct blocker
{
- struct thread_entry *thread; /* thread blocking other threads
- (aka. object owner) */
+ struct thread_entry * volatile thread; /* thread blocking other threads
+ (aka. object owner) */
int priority; /* highest priority waiter */
struct thread_entry * (*wakeup_protocol)(struct thread_entry *thread);
};