Tiny comment on the change from StgWord8 to StgWord
authorSimon Peyton Jones <simonpj@microsoft.com>
Wed, 2 Oct 2013 12:57:41 +0000 (13:57 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Thu, 3 Oct 2013 07:36:58 +0000 (08:36 +0100)
c.f. commit 0b0fec536e35769b64b8bc5397c84138fa512155

rts/sm/GCThread.h

index 4b96fec..12ef999 100644 (file)
@@ -122,7 +122,7 @@ typedef struct gc_thread_ {
     OSThreadId id;                 // The OS thread that this struct belongs to
     SpinLock   gc_spin;
     SpinLock   mut_spin;
-    volatile StgWord wakeup;
+    volatile StgWord wakeup;       // NB not StgWord8; only StgWord is guaranteed atomic
 #endif
     nat thread_index;              // a zero based index identifying the thread
     rtsBool idle;                  // sitting out of this GC cycle