1. 01 Jul, 2009 3 commits
  2. 30 Jun, 2009 2 commits
  3. 27 Jun, 2009 1 commit
  4. 26 Jun, 2009 2 commits
  5. 25 Jun, 2009 2 commits
  6. 24 Jun, 2009 3 commits
  7. 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.
      f540ac1c
    • 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
      here.
      
      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.
      0fb9ad3a
  8. 22 Jun, 2009 1 commit
  9. 23 Jun, 2009 2 commits
  10. 22 Jun, 2009 3 commits
  11. 17 Jun, 2009 1 commit
  12. 03 Jun, 2009 1 commit
  13. 22 Jun, 2009 1 commit
  14. 17 Jun, 2009 1 commit
  15. 16 Jun, 2009 3 commits
  16. 15 Jun, 2009 3 commits
  17. 14 Jun, 2009 1 commit
  18. 13 Jun, 2009 4 commits
  19. 11 Jun, 2009 2 commits
  20. 13 Jun, 2009 1 commit
  21. 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.
      85df606a