summaryrefslogtreecommitdiff
path: root/rts/sm/Storage.c
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2016-02-27 14:44:45 +0000
committerSergei Trofimovich <siarheit@google.com>2016-02-27 14:44:53 +0000
commit3ee4fc04322dacb66c70262a220dce0f52c29d4f (patch)
treeeffb2c8d38973712d2bc04f149cb5e1651f0062c /rts/sm/Storage.c
parent890e2bb72b9953ca3e6990911b4cf6e51a0dd0f8 (diff)
downloadhaskell-3ee4fc04322dacb66c70262a220dce0f52c29d4f.tar.gz
rts: drop unused global 'blackhole_queue'
Commit 5d52d9b64c21dcf77849866584744722f8121389 removed global 'blackhole_queue' in favour of new mechanism: when TSO hits blackhole TSO blocks waiting for 'MessgaeBlackhole' delivery. Patch removed unused global and updates stale comments. Noticed by Yuras Shumovich. Signed-off-by: Sergei Trofimovich <siarheit@google.com> Test Plan: build test Reviewers: simonmar, austin, Yuras, bgamari Reviewed By: Yuras, bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1953
Diffstat (limited to 'rts/sm/Storage.c')
-rw-r--r--rts/sm/Storage.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/rts/sm/Storage.c b/rts/sm/Storage.c
index c815b9993e..45bb54ca65 100644
--- a/rts/sm/Storage.c
+++ b/rts/sm/Storage.c
@@ -1046,7 +1046,6 @@ dirty_TVAR(Capability *cap, StgTVar *p)
// Setting a TSO's link field with a write barrier.
// It is *not* necessary to call this function when
// * setting the link field to END_TSO_QUEUE
-// * putting a TSO on the blackhole_queue
// * setting the link field of the currently running TSO, as it
// will already be dirty.
void