cvs commit: fptools/ghc/rts Itimer.c
Mon, 26 Nov 2001 17:57:04 -0800
That would work in practice, but initialize_virtual_timer() performs
two functions - it both sets up and tears down the virtual timer,
so initProfTimer() should really only be called in the former case.
But, given the impl of initProfTimer(), it is harmless to also call
it on shutdown.
This arrangement irked me a bit last time I looked at it & I decided
to do something about it now(see sep. commit).
----- Original Message -----
From: "Simon Peyton Jones" <email@example.com>
Sent: Monday, November 26, 2001 04:58
Subject: cvs commit: fptools/ghc/rts Itimer.c
> simonpj 2001/11/26 04:58:17 PST
> Modified files:
> ghc/rts Itimer.c
> In the Win32 build, don't call initProfTimer unless PROFILING
> is on. This mirrors the Unix deal. Indeed initProfTimer
> isn't defined if PROFILING is on.
> I don't know how this works for anyone else on Win32!
> Sigbjorn: have I done this right, or am I misunderstanding?
> Revision Changes Path
> 1.27 +3 -1 fptools/ghc/rts/Itimer.c
> Cvs-ghc mailing list