1. 27 Feb, 2002 3 commits
  2. 26 Feb, 2002 5 commits
    • sof's avatar
      [project @ 2002-02-26 19:18:00 by sof] · 2a966c8e
      sof authored
      stg_gc_unbx_r1: fixed what was surely a typo in the 06/07/01
      commit which instead of pushing an info pointer, started
      pushing the entry code (stg_gc_unbx_r1_ret).
      Unbreaks the mini-interpreter.
    • sof's avatar
      [project @ 2002-02-26 14:56:43 by sof] · eaae176c
      sof authored
      comment wibble
    • sewardj's avatar
      [project @ 2002-02-26 12:52:58 by sewardj] · 3f7ae19b
      sewardj authored
      Fix sparc borkage.
    • simonmar's avatar
      [project @ 2002-02-26 12:15:11 by simonmar] · 93bd5753
      simonmar authored
      Mention that you can say 'make way=foo' to build a particular way only
      in the current directory.
      Clean up some markup, and fix a markup error at the same time.
    • sof's avatar
      [project @ 2002-02-26 05:03:27 by sof] · bcfa1e5a
      sof authored
      INFO_VECTOR (MINIINTERPRETER case): gcc-2.96 doesn't
      like a mixture of labelled and non-labelled members
      in a struct initializer, which is reasonable. So,
      be explicit that we're initializing the 'vector' member.
      I'd be surprised if this change causes breakage with earlier
      A comment next to INFO_VECTOR as to why it has to be empty
      in the non-MINIINTERPRETER case, would be nice.
  3. 25 Feb, 2002 3 commits
  4. 22 Feb, 2002 4 commits
  5. 21 Feb, 2002 1 commit
    • sewardj's avatar
      [project @ 2002-02-21 14:42:17 by sewardj] · 3c10dbeb
      sewardj authored
      In DsForeign.fexportEntry, track recent changes to f-x-dynamic
      implementation.  At the same time completely rewrite this fn, since I
      couldn't figure out how the previous incarnation worked.
  6. 19 Feb, 2002 1 commit
  7. 18 Feb, 2002 7 commits
    • sof's avatar
      [project @ 2002-02-18 17:27:24 by sof] · 80f067ce
      sof authored
      unused arg wibble
    • sof's avatar
      [project @ 2002-02-18 17:26:48 by sof] · d94938cc
      sof authored
      If necessary, define THREADED_RTS and DEBUG when gen'ing rts.conf
    • sof's avatar
      [project @ 2002-02-18 16:28:39 by sof] · 0ef63546
      sof authored
      Filter out _stub.c gubbins from C_SRCS
    • sof's avatar
      [project @ 2002-02-18 16:27:24 by sof] · 6682da21
      sof authored
      remove STUBOBJS as an (explicit) dependency to LIBRARY (+comment as to why)
    • sewardj's avatar
      [project @ 2002-02-18 15:51:28 by sewardj] · 4b294905
      sewardj authored
      Fix import wibble
    • sof's avatar
      [project @ 2002-02-18 13:26:12 by sof] · 6e2ea06c
      sof authored
      Be clear about the lock assumptions of GarbageCollect(); it
      is now required to hold sched_mutex.
      The real reason for adding this requirement is so that when
      prior to scheduling finalizers and doing thread resurrection,
      GarbageCollect() may set the lock status of sched_mutex to
      the state expected by scheduleFinalizers() and resurrectThreads()
      (i.e., unlocked).
      Note: this is only an issue with pthreads. In the Win32 threading
      model, it's a NOP for a thread to grab a mutex it already holds.
    • sewardj's avatar
      [project @ 2002-02-18 12:41:01 by sewardj] · 45ddebc0
      sewardj authored
      Make foreign export dynamic work in GHCi.  Main changes:
      * Allow literal labels to propagate through the bytecode generator
        and eventually be linked by the runtime linker.
      * Minor mods to driver plumbing so that GHCi produces the relevant
        *_stub.[ch] files, compiles them with gcc, and loads the resulting .o's
      * Dereference the stable pointer in the generated C stub, rather
        than passing it to a Haskell-world helper.  This seems simpler and
        removes the need to have a H-world helper, which in turn means the
        stub .o doesn't refer to any H-world entities.  This is important
        because our linker can't deal with mutual recursion between
        BCOs and loaded objects.
      Still ToDo:
      * Make it thread/GC safe.  (Sigbjorn?)
      * Get rid of the bits of code in DsForeign which generate the
        Haskell helper.  I had a go but it wasn't obvious how to do it,
        so have deferred.
  8. 17 Feb, 2002 9 commits
  9. 16 Feb, 2002 4 commits
  10. 15 Feb, 2002 3 commits
    • sof's avatar
      [project @ 2002-02-15 22:14:27 by sof] · 9d70000e
      sof authored
      Extra arg to suspendThread() and resumeThread(); controls whether an external call is concurrent or not
    • sof's avatar
      [project @ 2002-02-15 22:13:32 by sof] · d95869c5
      sof authored
      New call attribute on foreign imports, threadsafe.
      It indicates that a foreign import can(*) safely be called
      concurrently with the continued evaluation of other Haskell
      threads, i.e., when the foreign call is made by a Haskell
      thread, it won't hinder the progress of other threads.
      (*) - if the platform and RTS supports it, it _will be_
      invoked concurrently.
    • sof's avatar
      [project @ 2002-02-15 21:07:19 by sof] · d031626e
      sof authored
      comments only