summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2013-10-02 13:57:41 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2013-10-03 08:36:58 +0100
commit7e44480218bb1cbd85d90bf68f35ea28421d460e (patch)
treedd1bb90ddd7d6efa7cf4d0dfaa5168b9dc7f6a69 /rts
parent43856a003c9abb1bf8bf1822e6e7f5781b16ac4d (diff)
downloadhaskell-7e44480218bb1cbd85d90bf68f35ea28421d460e.tar.gz
Tiny comment on the change from StgWord8 to StgWord
c.f. commit 0b0fec536e35769b64b8bc5397c84138fa512155
Diffstat (limited to 'rts')
-rw-r--r--rts/sm/GCThread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/sm/GCThread.h b/rts/sm/GCThread.h
index 4b96fec7f8..12ef999a9b 100644
--- a/rts/sm/GCThread.h
+++ b/rts/sm/GCThread.h
@@ -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