sof 2003/02/21 20:51:58 PST
Modified files:
ghc/rts Itimer.c Itimer.h LdvProfile.c PrimOps.hc
Profiling.c Proftimer.c RetainerProfile.c
RtsFlags.c RtsStartup.c Schedule.c
Select.c rts.conf.in
ghc/rts/win32 AsyncIO.c AsyncIO.h IOManager.c
Added files:
ghc/rts Timer.c Timer.h
ghc/rts/win32 AwaitEvent.c Ticker.c Ticker.h
Log:
Clean up code&interfaces that deals with timers and asynchrony:
- Timer.{c,h} now defines the platform-independent interface
to the timing services needed by the RTS. Itimer.{c,h} +
win32/Ticker.{c,h} defines the OS-specific services that
creates/destroys a timer.
- For win32 plats, drop the long-standing use of the 'multimedia'
API timers and implement the ticking service ourselves. Simpler
and more flexible.
- Select.c is now solely for platforms that use select() to handle
non-blocking I/O & thread delays. win32/AwaitEvent.c provides
the same API on the Win32 side.
- support threadDelay on win32 platforms via worker threads.
Not yet compiled up on non-win32 platforms; will do once checked in.
Revision Changes Path
1.32 +9 -147 fptools/ghc/rts/Itimer.c
1.11 +9 -13 fptools/ghc/rts/Itimer.h
1.5 +1 -3 fptools/ghc/rts/LdvProfile.c
1.105 +21 -4 fptools/ghc/rts/PrimOps.hc
1.36 +2 -2 fptools/ghc/rts/Profiling.c
1.12 +2 -2 fptools/ghc/rts/Proftimer.c
1.7 +1 -3 fptools/ghc/rts/RetainerProfile.c
1.66 +2 -6 fptools/ghc/rts/RtsFlags.c
1.72 +4 -4 fptools/ghc/rts/RtsStartup.c
1.162 +2 -2 fptools/ghc/rts/Schedule.c
1.25 +9 -32 fptools/ghc/rts/Select.c
1.12 +0 -1 fptools/ghc/rts/rts.conf.in
1.2 +53 -5 fptools/ghc/rts/win32/AsyncIO.c
1.2 +3 -1 fptools/ghc/rts/win32/AsyncIO.h
1.2 +0 -1 fptools/ghc/rts/win32/IOManager.c
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|