File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -512,7 +512,9 @@ impl RuntimeGlue {
512
512
unsafe fn kill_all_tasks( task: & TaskHandle ) {
513
513
match * task {
514
514
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" ) ,
516
518
}
517
519
}
518
520
@@ -573,7 +575,10 @@ impl RuntimeGlue {
573
575
members : members,
574
576
descendants : TaskSet :: new ( ) ,
575
577
} ) ) ;
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 ) ;
577
582
( * me) . taskgroup = Some ( group) ;
578
583
( * me) . taskgroup . get_ref ( )
579
584
}
You can’t perform that action at this time.
0 commit comments