Skip to content

Commit a3844c2

Browse files
committed
---
yaml --- r: 143919 b: refs/heads/try2 c: 5ac8c57 h: refs/heads/master i: 143917: 2d96b02 143915: 437b4f4 143911: 17500d8 143903: f557c9e v: v3
1 parent 446b834 commit a3844c2

File tree

5 files changed

+70
-139
lines changed

5 files changed

+70
-139
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: ce48e71d28a69151a9f1fb7a620dcbad2834cef3
8+
refs/heads/try2: 5ac8c57bd420d61ed80a07746ab1a75e4062383f
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/src/libstd/rt/kill.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,8 +488,8 @@ impl Death {
488488
rtassert!(self.unkillable == 0);
489489
self.unkillable = 1;
490490

491-
// FIXME(#7544): See corresponding fixme at the callsite in task.rs.
492-
// NB(#8192): Doesn't work with "let _ = ..."
491+
// NB. See corresponding comment at the callsite in task.rs.
492+
// FIXME(#8192): Doesn't work with "let _ = ..."
493493
{ use util; util::ignore(group); }
494494

495495
// Step 1. Decide if we need to collect child failures synchronously.

branches/try2/src/libstd/rt/task.rs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -253,12 +253,10 @@ impl Task {
253253
}
254254
}
255255

256-
// FIXME(#7544): We pass the taskgroup into death so that it can be
257-
// dropped while the unkillable counter is set. This should not be
258-
// necessary except for an extraneous clone() in task/spawn.rs that
259-
// causes a killhandle to get dropped, which mustn't receive a kill
260-
// signal since we're outside of the unwinder's try() scope.
261-
// { let _ = self.taskgroup.take(); }
256+
// NB. We pass the taskgroup into death so that it can be dropped while
257+
// the unkillable counter is set. This is necessary for when the
258+
// taskgroup destruction code drops references on KillHandles, which
259+
// might require using unkillable (to synchronize with an unwrapper).
262260
self.death.collect_failure(!self.unwinder.unwinding, self.taskgroup.take());
263261
self.destroyed = true;
264262
}

branches/try2/src/libstd/task/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
use prelude::*;
3939

4040
use cell::Cell;
41-
use cmp::Eq;
4241
use comm::{stream, Chan, GenericChan, GenericPort, Port};
4342
use result::Result;
4443
use result;

0 commit comments

Comments
 (0)