1. 12 Sep, 2004 1 commit
  2. 09 Sep, 2004 2 commits
  3. 07 Sep, 2004 1 commit
  4. 06 Sep, 2004 2 commits
  5. 03 Sep, 2004 2 commits
    • simonmar's avatar
      [project @ 2004-09-03 15:28:18 by simonmar] · 95ca6bff
      simonmar authored
      Cleanup: all (well, most) messages from the RTS now go through the
      functions in RtsUtils: barf(), debugBelch() and errorBelch().  The
      latter two were previously called belch() and prog_belch()
      respectively.  See the comments for the right usage of these message
      functions.
      
      One reason for doing this is so that we can avoid spurious uses of
      stdout/stderr by Haskell apps on platforms where we shouldn't be using
      them (eg. non-console apps on Windows).
      95ca6bff
    • simonmar's avatar
      [project @ 2004-09-03 10:11:57 by simonmar] · aa07427a
      simonmar authored
      Fix bug in isEmptyMVar#
      aa07427a
  6. 01 Sep, 2004 1 commit
  7. 31 Aug, 2004 2 commits
  8. 27 Aug, 2004 1 commit
  9. 22 Aug, 2004 5 commits
  10. 21 Aug, 2004 2 commits
  11. 20 Aug, 2004 1 commit
  12. 19 Aug, 2004 2 commits
  13. 17 Aug, 2004 1 commit
  14. 16 Aug, 2004 1 commit
  15. 13 Aug, 2004 3 commits
  16. 09 Aug, 2004 1 commit
    • simonmar's avatar
      [project @ 2004-08-09 14:27:53 by simonmar] · 05881eca
      simonmar authored
      Two changes:
      
        - newly created or unblocked threads go to the back of the run
          queue.  This is fairer because it avoids possible starvation.
          Fixes problem with conc004 test going much slower with optimisation.
      
        - The context switch flag is only reset after a yield.  Previously,
          it was being reset before we ran a thread, which meant that a tick
          that arrived during GC would be lost, and a thread doing lots of
          GC could hog the CPU.  Now, GC is effectively counted as part of
          the last running thread's timeslice.
      
      MERGE TO STABLE.
      05881eca
  17. 21 Jul, 2004 1 commit
  18. 15 Jul, 2004 2 commits
  19. 18 Jun, 2004 1 commit
    • dons's avatar
      [project @ 2004-06-18 09:02:40 by dons] · 5218cb82
      dons authored
      Have loadObj ignore requests to load an object more than once, instead
      of actually loading the object, then dying.
      
      This change lets user-land loaders safely work inside GHCi, when they
      would have no way to know what packages had already been loaded.
      
      Help from SimonM and Andre Pang.
      5218cb82
  20. 16 Jun, 2004 1 commit
    • dons's avatar
      [project @ 2004-06-16 10:47:48 by dons] · abad5596
      dons authored
      Add linker symbols into linker symbol table.
      This lets things that bind to the linker run in GHCi.
      Tested on OSX and OpenBSD.
      
      Thanks to Andre Pang.
      abad5596
  21. 12 Jun, 2004 1 commit
  22. 27 May, 2004 3 commits
    • simonmar's avatar
      [project @ 2004-05-27 15:21:37 by simonmar] · e663fcfa
      simonmar authored
      Remove part of previous patch which was for debugging only.
      e663fcfa
    • simonmar's avatar
      [project @ 2004-05-27 15:18:31 by simonmar] · 86e487a2
      simonmar authored
      Fix a nasty bug: when saving errno in the TSO after running a thread,
      beware that the TSO might have moved, e.g. if the thread made a safe
      foreign call in the threaded RTS and a GC happened.
      
      We have to grab the new location of the TSO *before* saving errno.
      
      MERGE TO STABLE
      
      This was the most interesting bug hunt I've had in a while.  The crash
      only showed up in about 1 in 4 runs of a program with 1000 Haskell
      threads, running on the threaded RTS.  To make things worse, gdb
      doesn't support watchpoints in programs with multiple threads... :-/
      86e487a2
    • simonmar's avatar
      [project @ 2004-05-27 09:29:28 by simonmar] · d2a09365
      simonmar authored
      Make getAllocations() return an Int64 to avoid Int overflow.
      d2a09365
  23. 21 May, 2004 1 commit
    • simonmar's avatar
      [project @ 2004-05-21 13:28:59 by simonmar] · 89f9f089
      simonmar authored
      Fix yet another bug in the THUNK_SELECTOR code.  Interestingly, I
      spotted this one earlier but left a ToDo in the code rather than
      fixing it (I think I wasn't sure whether it could happen or not).
      
      The bug is to close another another way that eval_thunk_selector()
      could return a pointer into to-space.  See comments for details.
      89f9f089
  24. 15 May, 2004 1 commit
  25. 11 May, 2004 1 commit