summaryrefslogtreecommitdiff
path: root/includes/RtsExternal.h
Commit message (Collapse)AuthorAgeFilesLines
* Adding new ffi calls into the Hpc rts subsystemandy@galois.com2007-06-121-0/+2
| | | | | | | | | foreign import ccall unsafe hs_hpc_write :: CString -> IO () foreign import ccall unsafe hs_hpc_read :: CString -> IO () These write a Hpc description of the state of the world to a file, or read a description into the current Hpc tickbox subsystem.
* GHCi debugger: new flag -fbreak-on-exceptionSimon Marlow2007-05-151-0/+5
| | | | | | | | | | When -fbreak-on-exception is set, an exception will cause GHCi to suspend the current computation and return to the prompt, where the history of the current evaluation can be inspected (if we are in :trace). This isn't on by default, because the behaviour could be confusing: for example, ^C will cause a breakpoint. It can be very useful for finding the cause of a "head []" or a "fromJust Nothing", though.
* Changing internal data structures used by Hpcandy@galois.com2007-04-301-1/+1
| | | | | | | | | - .tix files are now a list of MixModule, which contain a hash of the contents of the .mix file. - .mix files now have (the same) hash number. This changes allow different binaries that use the same module compiled in the same way to share coverage information.
* HANDLE --> (void *), we can't rely on having included windows.h hereSimon Marlow2007-04-041-1/+1
| | | | HANDLE is defined to be (void *) anyway, so this shouldn't hurt
* Fix C/Haskell type mismatchesIan Lynagh2007-04-041-1/+5
|
* Fix C/Haskell type mismatchesIan Lynagh2007-04-031-6/+6
|
* Adding command channel for the hpc debugger to the hpc part of the RTSandy@galois.com2007-01-091-2/+2
|
* Updating rix output to new standard.andy@galois.com2006-12-141-1/+1
|
* Misc Hpc improvement to dynamic tracer outputandy@galois.com2006-12-131-0/+6
| | | | | | | - Added HPCRIX support for passing tracer filename. - Added thread tracing support. - Cleaned up use of HsFFI.h
* Add support for the IO manager thread on WindowsSimon Marlow2006-12-011-1/+10
| | | | | | | | | | | | | | | | | | | Fixes #637. The implications of this change are: - threadDelay on Windows no longer creates a new OS thread each time, instead it communicates with the IO manager thread in the same way as on Unix. - deadlock detection now works the same way on Windows as on Unix; that is the timer interrupt wakes up the IO manager thread, which causes the scheduler to check for deadlock. - Console events now get sent to the IO manager thread, in the same way as signals do on Unix. This means that console events should behave more reliably with -threaded on Windows. All this applies only with -threaded. Without -threaded, the old ConsoleEvent code is still used. After some testing, this could be pushed to the 6.6 branch.
* move newSpark() prototype to RtsExternal.h to avoid warningsSimon Marlow2006-11-071-0/+1
|
* Split GC.c, and move storage manager into sm/ directorySimon Marlow2006-10-241-3/+0
| | | | | | | | | | | | | | | | | In preparation for parallel GC, split up the monolithic GC.c file into smaller parts. Also in this patch (and difficult to separate, unfortunatley): - Don't include Stable.h in Rts.h, instead just include it where necessary. - consistently use STATIC_INLINE in source files, and INLINE_HEADER in header files. STATIC_INLINE is now turned off when DEBUG is on, to make debugging easier. - The GC no longer takes the get_roots function as an argument. We weren't making use of this generalisation.
* remove performGCWithRoots()Simon Marlow2006-10-191-1/+0
| | | | | | | I don't think this can ever be useful, because to add more roots you need to do it consistently for every GC. The right way to add roots is to use newStablePtr.
* fix type of allocateExecSimon Marlow2006-06-011-1/+1
|
* stgMallocBytesRWX --> allocateExecSimon Marlow2006-06-011-1/+1
|
* Reorganisation of the source treeSimon Marlow2006-04-071-0/+96
Most of the other users of the fptools build system have migrated to Cabal, and with the move to darcs we can now flatten the source tree without losing history, so here goes. The main change is that the ghc/ subdir is gone, and most of what it contained is now at the top level. The build system now makes no pretense at being multi-project, it is just the GHC build system. No doubt this will break many things, and there will be a period of instability while we fix the dependencies. A straightforward build should work, but I haven't yet fixed binary/source distributions. Changes to the Building Guide will follow, too.