Commit 0b0fec53 authored by Simon Marlow's avatar Simon Marlow

use StgWord not StgWord8 for wakeup

volatile StgWord8 is not guaranteed to be atomic.
parent cb7785f6
......@@ -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 StgWord8 wakeup;
volatile StgWord wakeup;
#endif
nat thread_index; // a zero based index identifying the thread
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