Commit 7e444802 authored by Simon Peyton Jones's avatar Simon Peyton Jones

Tiny comment on the change from StgWord8 to StgWord

c.f. commit 0b0fec53
parent 43856a00
...@@ -122,7 +122,7 @@ typedef struct gc_thread_ { ...@@ -122,7 +122,7 @@ typedef struct gc_thread_ {
OSThreadId id; // The OS thread that this struct belongs to OSThreadId id; // The OS thread that this struct belongs to
SpinLock gc_spin; SpinLock gc_spin;
SpinLock mut_spin; SpinLock mut_spin;
volatile StgWord wakeup; volatile StgWord wakeup; // NB not StgWord8; only StgWord is guaranteed atomic
#endif #endif
nat thread_index; // a zero based index identifying the thread nat thread_index; // a zero based index identifying the thread
rtsBool idle; // sitting out of this GC cycle rtsBool idle; // sitting out of this GC cycle
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment