Skip to content

Commit bc004d9

Browse files
committed
---
yaml --- r: 69491 b: refs/heads/auto c: 9675cd3 h: refs/heads/master i: 69489: 7bdb46c 69487: 230bb65 v: v3
1 parent ddc4da1 commit bc004d9

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: 3f6b4c24ec2234a06632234eaf3014ae0e4adc66
17+
refs/heads/auto: 9675cd311a405bd5222597a69825733029a2a040
1818
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1919
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c

branches/auto/src/libstd/task/spawn.rs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,9 @@ impl RuntimeGlue {
512512
unsafe fn kill_all_tasks(task: &TaskHandle) {
513513
match *task {
514514
OldTask(ptr) => rt::rust_task_kill_all(ptr),
515-
NewTask(ref _handle) => rtabort!("unimplemented"), // FIXME(#7544)
515+
// FIXME(#7544): Remove the kill_all feature entirely once the
516+
// oldsched goes away.
517+
NewTask(ref _handle) => rtabort!("can't kill_all in newsched"),
516518
}
517519
}
518520

@@ -573,7 +575,10 @@ impl RuntimeGlue {
573575
members: members,
574576
descendants: TaskSet::new(),
575577
}));
576-
let group = Taskgroup(tasks, AncestorList(None), true, None);
578+
// FIXME(#7544): Remove the is_main flag entirely once
579+
// the newsched goes away. The main taskgroup has no special
580+
// behaviour.
581+
let group = Taskgroup(tasks, AncestorList(None), false, None);
577582
(*me).taskgroup = Some(group);
578583
(*me).taskgroup.get_ref()
579584
}

0 commit comments

Comments
 (0)