1. 08 Jul, 2001 1 commit
  2. 06 Jul, 2001 6 commits
    • rrt's avatar
      [project @ 2001-07-06 15:39:47 by rrt] · 130677d4
      rrt authored
      Fix path for Windows jade
      130677d4
    • simonmar's avatar
      [project @ 2001-07-06 14:18:53 by simonmar] · 96a40531
      simonmar authored
      Add test for broken takeMVar/putMVar in 5.00.2.
      
      Bug reported by Greg Mildenhall <gregm@pc-121.cs.uwa.edu.au> on
      comp.lang.functional..
      96a40531
    • rrt's avatar
      [project @ 2001-07-06 14:15:50 by rrt] · f1c15287
      rrt authored
      lib/gcc-lib -> gcc-lib
      f1c15287
    • simonmar's avatar
      [project @ 2001-07-06 14:11:38 by simonmar] · 1c5d2a15
      simonmar authored
      Fix a couple of nasty bugs in the take/putMVar implementation.
      
      Now we keep the invariant that a full MVar only has blocked putMVars
      on its queue, and an empty MVar only has blocked takeMVars on its
      queue.  It was the absence of this invariant that led to accidental
      deadlock before.
      
      The second bug is that there was a window between a blocked thread
      being restarted and it actually retrying the takeMVar/putMVar
      operation when it could receive an exception, which would also lead to
      deadlock.
      
      The solution to both these problems (as suggested by Simon P.J.) is to
      atomically wake up and perform the next blocked putMVar when we do a
      take, and vice versa.  As a side effect, takeMVar & putMVar should be
      much faster when blocking & restarting, because we now shortcut the
      retrying of the blocked operation and we use a more specialised stack
      layout for the blocked thread.  Unfortunately, things got more
      complicated too, but there are comments explaining what's going on.
      1c5d2a15
    • apt's avatar
      [project @ 2001-07-06 14:05:14 by apt] · 574b218d
      apt authored
      fix eqType bug
      574b218d
    • rrt's avatar
      [project @ 2001-07-06 10:53:04 by rrt] · efeb7db1
      rrt authored
      New version for GHC 5
      efeb7db1
  3. 05 Jul, 2001 4 commits
  4. 04 Jul, 2001 9 commits
  5. 03 Jul, 2001 8 commits
  6. 02 Jul, 2001 6 commits
  7. 30 Jun, 2001 4 commits
  8. 29 Jun, 2001 2 commits