- 23 Mar, 2000 2 commits
- 22 Mar, 2000 2 commits
- 21 Mar, 2000 3 commits
-
-
simonmar authored
Call __init_PrelMain instead of __initMain. PrelMain lives above Main in the dependency tree, so this is more correct.
-
rrt authored
Added PrelException_BlockedOnDeadMVar_static_closure and PrelException_NonTermination_static_closure.
-
rrt authored
Made them build on mingw32 again (problems with getourtimeofday, which shouldn't be needed under mingw anyway).
-
- 20 Mar, 2000 3 commits
-
-
panne authored
ITimer.h is really called Itimer.h. Hmmm, let's guess on what brilliant OS this part of the RTS was developed... :-))
-
andy authored
Adding an alternative to the "delay" system used for threads that are waiting for time to pass. This works on a target time basis, eliminating the need to use the ticky style counter. It is only enabled under: #if defined(INTERPRETER) && !defined(HAVE_SETITIMER)
-
andy authored
Second attack at supporting threads inside STG Hugs. We now support most of the concurrency primitives. Also a wibble in Evaluator.c, letting Hugs compile.
-
- 17 Mar, 2000 4 commits
-
-
rrt authored
Added PrelException_PutFullMVar_static_closure and __init_Prelude, and also (rather hackily) __init_Main (until I find out how that should really be dealt with).
-
simonmar authored
More random cleanups.
-
simonmar authored
Random cleanup: rename the TSO->whatNext field to what_next, to be a bit more consistent.
-
simonmar authored
Support "interruptible operations": threads which are blocked on MVars, exceptions, I/O, or sleeping are fair game for raiseInThread.
-
- 16 Mar, 2000 5 commits
-
-
simonmar authored
bug fix in previous commit - NotBlocked is a valid state to be in in resurrectThreads().
-
simonmar authored
Raise an exception in any thread that is about to be garbage collected. - threads blocked on MVars that are otherwise garbage will receive a BlockedOnDeadMVar exception. - threads blocked on Black Holes must be in some kind of deadlock, so we send them a NonTermination exception.
-
simonmar authored
put a lock in the right place.
-
simonmar authored
decruftification
-
simonmar authored
Use Sp instead of the global init_stack for the stack pointer during module initialisation. This should cut down the code size for module initialisation blocks.
-
- 15 Mar, 2000 2 commits
- 14 Mar, 2000 9 commits
-
-
sewardj authored
Update Hugs so as to work with the new way of referencing Prelude symbols from the RTS. The main action is in fixupRTStoPreludeRefs() in rts/Prelude.c.
-
simonmar authored
New file for RTS->Prelude dependencies.
-
simonmar authored
Handle references from the RTS to the Prelude in a more consistent way. - For statically-linked binaries, nothing has changed. - For the interpreter, refs from the RTS to the Prelude are now indirected. The indirections need to be filled in at some point during startup by calling fixupPreludeRefs (in Prelude.c). - The CHARLIKE and INTLIKE tables are now handled in the same way for both Hugs and DLLs. Hugs will be broken for a short while until Julian sorts out the Hugs parts of this change.
-
sof authored
Don't be selective about what's exported from the RTS DLL any more, as it requires sync'ing HSrts.def whenever the RTS offerings change.
-
sof authored
* 'inlined' subset of the MM protos needed to compile this module, i.e., don't require whoever does a 'make' in ghc/rts/ to have extended their <windows.h> * right Win32 proto for handle_tick()
-
sof authored
Support for setting target-specific CC options via AC_SUBST (and make use of it on the mingw32 front -- 'resist' the temptation to use GMP's config/ story for this.)
-
sof authored
mingw32 support
-
sof authored
remove some Makefile debugging bits
-
sof authored
When booting, pass in --target to gmp/
-
- 13 Mar, 2000 6 commits
-
-
sewardj authored
Track recent re-homing of Prelude.h for INTERPRETER.
-
simonmar authored
Move Prelude.h from ghc/includes into ghc/rts. It's essentially a list of the things from the Prelude that the RTS depends on, and isn't relevant to STG code. Furthermore, this helps to clarify which parts of the RTS depend on things from the Prelude (by an explicity #include).
-
sewardj authored
Clean up a couple of compilation warnings.
-
sewardj authored
Remove #ifdef STANDALONE_INTEGER.
-
simonmar authored
Remove duplicate definition of unblockOne.
-
simonmar authored
Reset the interrupted flag after an interruption. This allows finalizers to run, and means that Hugs doesn't get stuck in an interruption loop.
-
- 09 Mar, 2000 1 commit
-
-
simonmar authored
Disable module initialisation under Hugs until we can sort out the hairy linking issues.
-
- 08 Mar, 2000 2 commits
-
-
simonmar authored
- generalise the per-module initialisation stubs so that we use it in normal (non-profiled) code too. The initialisation stubs are now called '__init_<module>' rather than '_reg<module>'. - Register foreign exported functions as stable pointers in the initialisation code for the module. This fixes the foreign export problems reported by several people. - remove the concept of "module groups" from the profiling subsystem. - change the profiling semantics slightly; it should be unnecessary to use '-caf-all' to get reasonable profiles now.
-
simonmar authored
Attempt to fix the Sparc version of StgRun. Since RESERVED_STACK_SPACE increased beyond the size of a 13-bit immediate, the Sparc code has been broken. We try to fix this with some imaginative gcc inline assembly constraints. If this breaks again, I'll try recoding it directly in assembler. While I'm here, pull in some of the comments from the old pre-4.00 RTS and add some new comments.
-
- 07 Mar, 2000 1 commit
-
-
simonmar authored
oops, need to define prof_file when DEBUGging too.
-