diff options
Diffstat (limited to 'rts/RtsAPI.c')
-rw-r--r-- | rts/RtsAPI.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/RtsAPI.c b/rts/RtsAPI.c index 2479f2038a..fb9c0107a0 100644 --- a/rts/RtsAPI.c +++ b/rts/RtsAPI.c @@ -510,7 +510,7 @@ rts_evalLazyIO_ (Capability *cap, HaskellObj p, unsigned int stack_size, void rts_checkSchedStatus (char* site, Capability *cap) { - SchedulerStatus rc = cap->running_task->stat; + SchedulerStatus rc = cap->running_task->incall->stat; switch (rc) { case Success: return; @@ -529,7 +529,7 @@ rts_checkSchedStatus (char* site, Capability *cap) SchedulerStatus rts_getSchedStatus (Capability *cap) { - return cap->running_task->stat; + return cap->running_task->incall->stat; } Capability * |