diff options
-rw-r--r-- | firmware/export/thread.h | 4 |
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); }; |