X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Finclude%2Fthreads.h;h=b55fe0e066a8498afadcc9c8a263d3c5be9ea13d;hb=049de1f2533477716a12a708c097b199eaa8fb6c;hp=9c5ebe75467aeb1b5b9ef3c8ee8eb89bf7a6d976;hpb=243bdab4e7acc8516d9b1c138f45dc1195f97767;p=tpg%2Facess2.git diff --git a/Kernel/include/threads.h b/Kernel/include/threads.h index 9c5ebe75..b55fe0e0 100644 --- a/Kernel/include/threads.h +++ b/Kernel/include/threads.h @@ -19,7 +19,7 @@ typedef struct sThread // --- threads.c's struct sThread *Next; //!< Next thread in list tSpinlock IsLocked; //!< Thread's spinlock - int Status; //!< Thread Status + volatile int Status; //!< Thread Status int RetStatus; //!< Return Status Uint TID; //!< Thread ID