From: sof Date: Sun, 5 Oct 1997 20:32:22 +0000 (+0000) Subject: [project @ 1997-10-05 20:32:22 by sof] X-Git-Tag: Approx_2487_patches~1434 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=f64b981a3180a0519b471c971697b799b4202be5;p=ghc-hetmet.git [project @ 1997-10-05 20:32:22 by sof] Added debug code to PerformReschedule --- 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.