summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorAndreas Klebinger <klebinger.andreas@gmx.at>2020-06-23 12:49:21 +0200
committerBen Gamari <ben@smart-cactus.org>2020-07-15 16:41:04 -0400
commitfa80782864895fe614e1b83416736014e68c8b35 (patch)
tree88fc3deb4c561d7758b6730c7e542008dec36e35 /includes
parent62dd5a7309f273b5bb7d6ab44a1d2745010c13a0 (diff)
downloadhaskell-fa80782864895fe614e1b83416736014e68c8b35.tar.gz
winio: Expand BlockedOnIOCompletion description.
Diffstat (limited to 'includes')
-rw-r--r--includes/rts/Constants.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/rts/Constants.h b/includes/rts/Constants.h
index f1ca25a6f3..043099bd1a 100644
--- a/includes/rts/Constants.h
+++ b/includes/rts/Constants.h
@@ -257,7 +257,9 @@
#define ThreadMigrating 13
/* Lightweight non-deadlock checked version of MVar. Used for the why_blocked
- field of a TSO. */
+ field of a TSO. Threads blocked for this reason are not forcibly release by
+ the GC, as we expect them to be unblocked in the future based on outstanding
+ IO events. */
#define BlockedOnIOCompletion 15
/* Next number is 16. */