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
This commit is contained in:
Michael Sevakis 2010-12-29 13:53:30 +00:00
parent df3c3aeee9
commit a24b140c0b

View file

@ -201,8 +201,8 @@ struct thread_list
#ifdef HAVE_PRIORITY_SCHEDULING #ifdef HAVE_PRIORITY_SCHEDULING
struct blocker struct blocker
{ {
struct thread_entry *thread; /* thread blocking other threads struct thread_entry * volatile thread; /* thread blocking other threads
(aka. object owner) */ (aka. object owner) */
int priority; /* highest priority waiter */ int priority; /* highest priority waiter */
struct thread_entry * (*wakeup_protocol)(struct thread_entry *thread); struct thread_entry * (*wakeup_protocol)(struct thread_entry *thread);
}; };