[project @ 2001-07-26 03:20:52 by ken]
authorken <unknown>
Thu, 26 Jul 2001 03:20:52 +0000 (03:20 +0000)
committerken <unknown>
Thu, 26 Jul 2001 03:20:52 +0000 (03:20 +0000)
commita1b48d4cadca3a113abd33e65531f250186ea469
treee2eaa2dcf36a517e361d4d20ac11e5b00defeac7
parent8cc0574aee93c1a75769e53df6e12a3b11dbbd5d
[project @ 2001-07-26 03:20:52 by ken]
Added to main():

   /*
    * Believe it or not, calling tzset() at startup seems to get rid of
    * a scheduler-related Heisenbug on alpha-dec-osf3.  The symptom of
    * the bug is that, when the load on the machine is high or when
    * there are many threads, the variable "Capability *cap" in the
    * function "schedule" in the file "Schedule.c" magically becomes
    * null before the line "t = cap->rCurrentTSO;".  Why, and why does
    * calling tzset() here seem to fix it?  Excellent questions!
    */
   tzset();
ghc/rts/Main.c