@@ -42,7 +42,7 @@ typedef struct Task_ {
42
42
// or just continue immediately. It's a workaround for the fact
43
43
// that signalling a condition variable doesn't do anything if the
44
44
// thread is already running, but we want it to be sticky.
45
- bool wakeup ;
45
+ HsBool wakeup ;
46
46
#endif
47
47
48
48
// This points to the Capability that the Task "belongs" to. If
@@ -65,11 +65,11 @@ typedef struct Task_ {
65
65
uint32_t n_spare_incalls ;
66
66
struct InCall_ * spare_incalls ;
67
67
68
- bool worker ; // == rtsTrue if this is a worker Task
69
- bool stopped ; // this task has stopped or exited Haskell
68
+ HsBool worker ; // == rtsTrue if this is a worker Task
69
+ HsBool stopped ; // this task has stopped or exited Haskell
70
70
71
71
// So that we can detect when a finalizer illegally calls back into Haskell
72
- bool running_finalizers ;
72
+ HsBool running_finalizers ;
73
73
74
74
// Links tasks on the returning_tasks queue of a Capability, and
75
75
// on spare_workers.
@@ -98,12 +98,12 @@ struct Capability_ {
98
98
99
99
// true if this Capability is running Haskell code, used for
100
100
// catching unsafe call-ins.
101
- bool in_haskell ;
101
+ HsBool in_haskell ;
102
102
103
103
// Has there been any activity on this Capability since the last GC?
104
104
uint32_t idle ;
105
105
106
- bool disabled ;
106
+ HsBool disabled ;
107
107
108
108
// The run queue. The Task owning this Capability has exclusive
109
109
// access to its run queue, so can wake up threads without
0 commit comments