We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aecc469 commit d12bf49Copy full SHA for d12bf49
src/concurrency/thread.rs
@@ -676,11 +676,6 @@ trait EvalContextPrivExt<'tcx>: MiriInterpCxExt<'tcx> {
676
#[inline]
677
fn run_on_stack_empty(&mut self) -> InterpResult<'tcx, Poll<()>> {
678
let this = self.eval_context_mut();
679
- // Inform GenMC that a thread has finished all user code. GenMC needs to know this for scheduling.
680
- if let Some(genmc_ctx) = this.machine.data_race.as_genmc_ref() {
681
- let thread_id = this.active_thread();
682
- genmc_ctx.handle_thread_stack_empty(thread_id);
683
- }
684
let mut callback = this
685
.active_thread_mut()
686
.on_stack_empty
0 commit comments