From f64b981a3180a0519b471c971697b799b4202be5 Mon Sep 17 00:00:00 2001 From: sof Date: Sun, 5 Oct 1997 20:32:22 +0000 Subject: [PATCH] [project @ 1997-10-05 20:32:22 by sof] Added debug code to PerformReschedule --- ghc/runtime/c-as-asm/HpOverflow.lc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ghc/runtime/c-as-asm/HpOverflow.lc b/ghc/runtime/c-as-asm/HpOverflow.lc index 45deca6..d7e5e1f 100644 --- a/ghc/runtime/c-as-asm/HpOverflow.lc +++ b/ghc/runtime/c-as-asm/HpOverflow.lc @@ -290,6 +290,11 @@ PerformReschedule(liveness, always_reenter_node) { rtsBool need_to_reschedule; +#if 0 && defined(DEBUG) + fprintf(stderr,"PerfReS:liveness=0x%lx,reenter=%lx,,context_switch=%ld\n", + liveness, always_reenter_node, context_switch); +#endif + /* Reset the global NeedToReSchedule -- this is used only to communicate the fact that we should schedule a new thread rather than the existing one following a fetch. -- 1.7.10.4