diff options
author | Simon Marlow <marlowsd@gmail.com> | 2015-05-27 12:08:17 +0100 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2016-04-10 03:52:45 -0700 |
commit | 485608d341d5e932fb2f69e3e2bce51a5b34b1b8 (patch) | |
tree | 6dbe4a04090367381402ad91f493bb716626a5e2 /rts/Schedule.h | |
parent | f9d26e58b1c31a446f46ea89b26cb7ad6b273056 (diff) | |
download | haskell-485608d341d5e932fb2f69e3e2bce51a5b34b1b8.tar.gz |
Refactor comments about shutdown
Diffstat (limited to 'rts/Schedule.h')
-rw-r--r-- | rts/Schedule.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/rts/Schedule.h b/rts/Schedule.h index b6fbed48e3..03a78c9ae9 100644 --- a/rts/Schedule.h +++ b/rts/Schedule.h @@ -51,11 +51,10 @@ StgWord findRetryFrameHelper (Capability *cap, StgTSO *tso); void scheduleWorker (Capability *cap, Task *task); /* The state of the scheduler. This is used to control the sequence - * of events during shutdown, and when the runtime is interrupted - * using ^C. + * of events during shutdown. See Note [shutdown] in Schedule.c. */ #define SCHED_RUNNING 0 /* running as normal */ -#define SCHED_INTERRUPTING 1 /* ^C detected, before threads are deleted */ +#define SCHED_INTERRUPTING 1 /* before threads are deleted */ #define SCHED_SHUTTING_DOWN 2 /* final shutdown */ extern volatile StgWord sched_state; |