#5865: threadDelay is disrupted by system clock changes
---------------------------------+------------------------------------------
Reporter: joeyadams | Owner: pcapriotti
Type: bug | Status: patch
Priority: high | Milestone: 7.4.2
Component: Runtime System | Version: 7.4.1
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: Incorrect result at runtime
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Changes (by simonmar):
* cc: tibbe, bos (added)
Comment:
For the nonthreaded patch: couldn't we just modify the definition of
`getProcessElapsedTime` instead of adding a new function `getTime`? That
would seem to require fewer changes, and it looks strange for `getTime` to
call `stat_getElapsedTime` which calls back to `getProcessElapsedTime`.
For the threaded patch: are we getting `HAVE_CLOCK_GETTIME` from
`ghcautoconf.h`? Perhaps it ought to come from the base package's
`HsBaseConfig.h`? Otherwise it looks fine, but we should run it past the
IO manager people (tibbe & bos, CC'd).
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5865#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs