1. 30 Jun, 2009 2 commits
  2. 27 Jun, 2009 1 commit
  3. 26 Jun, 2009 2 commits
  4. 25 Jun, 2009 2 commits
  5. 24 Jun, 2009 3 commits
  6. 23 Jun, 2009 2 commits
    • Simon Marlow's avatar
      Fix buffering problem when GHCi is using the new IO library · f540ac1c
      Simon Marlow authored
      Behind the scenes, the new IO library always does buffering for read
      Handles regardless of NoBuffering.  Normally this isn't visible, but
      it causes a problem in GHCi where there are two stdin Handles.
      This should fix those ghci test failures that sprung up in full
      testsuite runs recently.
    • Simon Marlow's avatar
      Optimise the %.hi : %.o rule · 0fb9ad3a
      Simon Marlow authored
      Previously this rule had a sanity check for the existence of the .o
      file.  However, the sanity check is expensive, especially on Windows,
      because it requires spawning a shell.  So now we use an empty command
      This change reduced the time to do 'make' in an up-to-date tree on
      Windows from 33s to 16s for me.  (the actual saving depends on how
      much rebuilding you've been doing, and how many .hi files are older
      than their .o files).
      The comments in this file now describe various versions of the rule
      that don't work.
  7. 22 Jun, 2009 1 commit
  8. 23 Jun, 2009 2 commits
  9. 22 Jun, 2009 3 commits
  10. 17 Jun, 2009 1 commit
  11. 03 Jun, 2009 1 commit
  12. 22 Jun, 2009 1 commit
  13. 17 Jun, 2009 1 commit
  14. 16 Jun, 2009 3 commits
  15. 15 Jun, 2009 3 commits
  16. 14 Jun, 2009 1 commit
  17. 13 Jun, 2009 4 commits
  18. 11 Jun, 2009 2 commits
  19. 13 Jun, 2009 1 commit
  20. 12 Jun, 2009 1 commit
    • Duncan Coutts's avatar
      Add and export rts_unsafeGetMyCapability from rts · 85df606a
      Duncan Coutts authored
      We need this, or something equivalent, to be able to implement
      stgAllocForGMP outside of the rts. That's because we want to use
      allocateLocal which allocates from the given capability without
      having to take any locks. In the gmp primops we're basically in
      an unsafe foreign call, that is a context where we hold a current
      capability. So it's safe for us to use allocateLocal. We just
      need a way to get the current capability. The method to get the
      current capability varies depends on whether we're using the
      threaded rts or not. When stgAllocForGMP is built inside the rts
      that's ok because we can do it conditionally on THREADED_RTS.
      Outside the rts we need a single api we can call without knowing
      if we're talking to a threaded rts or not, hence this addition.
  21. 11 Jun, 2009 3 commits