From 0dc778b82e72d063e1cb9bd0d11d59a4bac0b27b Mon Sep 17 00:00:00 2001 From: jethead71 Date: Wed, 29 Dec 2010 13:53:30 +0000 Subject: [PATCH] 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 --- firmware/export/thread.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/export/thread.h b/firmware/export/thread.h index ba777dc3d..3cce78444 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); }; -- 2.11.4.GIT