1. 05 Mar, 2004 2 commits
  2. 03 Mar, 2004 2 commits
    • simonpj's avatar
      [project @ 2004-03-03 17:11:51 by simonpj] · 2072e42a
      simonpj authored
      Comments only
    • simonpj's avatar
      [project @ 2004-03-03 17:10:33 by simonpj] · a69327ed
      simonpj authored
      Patches to configuration script for MSYS.  It's not clear that this'll
      always work, because we generate paths like /c/mingw/bin, which MinGW
      binaries won't understand -- but all of them seem to be fed to the
      MSYS shell, which translates them to c:/mingw/bin etc.
      Perhaps the Right Thing is to implement msyspath, by analogy with
      cygpath, to convert /c/xxx to c:/xxx? 
      Anyway, this patch seems to work for now.
  3. 02 Mar, 2004 2 commits
  4. 01 Mar, 2004 10 commits
    • simonmar's avatar
      [project @ 2004-03-01 14:18:35 by simonmar] · a20ec0ce
      simonmar authored
      Threaded RTS improvements:
        - Make the main_threads list doubly linked.  Have threads
          remove themselves from this list when they complete, rather
          than searching for completed main threads each time around
          the scheduler loop.  This removes an O(n) loop from the
          scheduler, but adds some new constraints (basically completed
          threads must remain on the run queue until dealt with, including
          threads which have been killed by an async exception).
        - Add a pointer from the TSO to the StgMainThread struct, for
          main threads.  This avoids a number of places where we had
          to traverse the list of main threads to find the right one,
          including one place in the scheduler loop.  Adding a field to
          a TSO is cheap.
        - taskStart: we should be resetting the startingWorkerThread flag
          in here.  Not sure why we aren't; maybe this got lost at some point.
        - Use the BlockedOnCCall flags in the non-threaded RTS too.  Q: what
          should happen if a thread does a foreign call which re-enters the
          RTS, and then sends an async exception to the original thread?
          Answer: it should deadlock, which it does in the threaded RTS, and
          this commit makes it do so in the non-threaded RTS too (see
    • simonmar's avatar
      [project @ 2004-03-01 14:11:01 by simonmar] · 07e22b02
      simonmar authored
      Remove Deadlock_closure (not used any more).
    • simonmar's avatar
      [project @ 2004-03-01 13:44:10 by simonmar] · 1f215127
      simonmar authored
      add a few RTS ways (combinations) I missed out
    • simonmar's avatar
      [project @ 2004-03-01 13:34:54 by simonmar] · 0504641e
      simonmar authored
      Warning police, and omit a useless debugging msg in !RTS_SUPPORTS_THREADS.
    • simonmar's avatar
      [project @ 2004-03-01 12:33:17 by simonmar] · 59a8549c
      simonmar authored
    • simonmar's avatar
      [project @ 2004-03-01 10:17:53 by simonmar] · 9208824c
      simonmar authored
      Update version numbering policy: we now allow snapshots along the
      stable branch (eg. 6.2.20040229).
    • simonmar's avatar
      [project @ 2004-03-01 10:16:28 by simonmar] · ae8e4261
      simonmar authored
      Update docs for RTS options and GhcRtsThreaded
    • simonmar's avatar
      [project @ 2004-03-01 10:14:54 by simonmar] · 712290dc
      simonmar authored
      Add -fno-generics to SRC_HC_OPTS
    • simonmar's avatar
      [project @ 2004-03-01 10:13:01 by simonmar] · f18af71d
      simonmar authored
      build target should use '::' not ':'
    • simonmar's avatar
      [project @ 2004-03-01 09:49:48 by simonmar] · fa8faa35
      simonmar authored
      make it compile (win32)
  5. 28 Feb, 2004 1 commit
    • ralf's avatar
      [project @ 2004-02-28 15:37:09 by ralf] · 0dca9ac5
      ralf authored
      Revised dataTypeOf member in "deriving ( ... Data ...)".
      This revised schemes relies on the updated modules
      Data.Typeable and Data.Generics*.
  6. 27 Feb, 2004 5 commits
  7. 26 Feb, 2004 12 commits
  8. 25 Feb, 2004 6 commits
    • simonmar's avatar
      [project @ 2004-02-25 17:35:44 by simonmar] · dc167cca
      simonmar authored
      Feeble performance hack for the threaded RTS: instead of
      allocating/releasing a new condition variable for each new call-in, we
      just cache one in the RTS and re-use it for the next call.
      On a little test I have here which does lots of call-ins on Windows,
      this reduces the slowdown for using the threaded RTS from a factor of
      7-8 down to a factor of 4-5.  I'm aiming for a factor of 2 or better...
    • simonmar's avatar
      [project @ 2004-02-25 16:18:00 by simonmar] · e15f63f3
      simonmar authored
      ShutdownIOManager: don't free the IOManagerState, because the worker
      threads haven't necessarily died yet and might reference it again.
      Apparently fixes a strange bug: I have a Haskell program which on
      Windows causes the shell to exit after I run it.  I don't know what
      the real cause of this is, but this is a clear bug and fixing it stops
      the shell from exiting.
    • simonpj's avatar
      [project @ 2004-02-25 14:51:37 by simonpj] · e753cf6c
      simonpj authored
      Add a -fno-full-laziness flag
    • simonmar's avatar
      [project @ 2004-02-25 13:57:38 by simonmar] · 63020bb3
      simonmar authored
      - For each language option, document exactly the syntax that is
        stolen from Haskell 98.
      - Fix up docrot at the beginning of the chapter.
    • simonpj's avatar
      [project @ 2004-02-25 13:54:30 by simonpj] · 49ac6c39
      simonpj authored
      Yet another fix to the -Onot optimisation that hides data type
      representations in .hi files.
      1.  Expose the representation if any fields are exposed
      2.  Don't expose newtypes whose data-cons are abstract, unless the
          rep type is a FFI type.  (Previously we were more conservative
          and always exposed newtypes, just in case of a foreign decl.)
    • simonmar's avatar
      [project @ 2004-02-25 11:49:14 by simonmar] · 60170b40
      simonmar authored
      Document -threaded and -debug options.