summaryrefslogtreecommitdiff
path: root/rts/Task.c
Commit message (Collapse)AuthorAgeFilesLines
...
* add sysErrorBelch() for reporting system call errorsSimon Marlow2006-08-301-1/+2
|
* Add closeMutex and use it on clean upEsa Ilari Vuokko2006-08-231-0/+4
|
* Match format strings and arguments for printf-like functionssven.panne@aedion.de2006-08-101-2/+2
|
* fix bug in task freeingSimon Marlow2006-08-091-1/+1
|
* Remove the artifical cap on the number of workersSimon Marlow2006-08-091-10/+0
| | | | | | | | | | | | See #805. This was here to catch bugs that resulted in an infinite number of worker threads being created. However, we can't put a reasonable bound on the number of worker threads, because legitimate programs may need to create large numbers of (probably blocked) worker threads. Furthermore, the OS probably has a bound on the number of threads that a process can create in any case.
* Remember to free() memory on exitSimon Marlow2006-08-081-0/+10
| | | | | Patch mostly from Lennart Augustsson in #803, with additions to Task.c by me.
* make compilation a little less noisySimon Marlow2006-06-161-2/+2
|
* allow the max number of workers to scale with +RTS -NSimon Marlow2006-06-161-0/+4
|
* New tracing interfaceSimon Marlow2006-06-081-5/+8
| | | | | | | | A simple interface for generating trace messages with timestamps and thread IDs attached to them. Most debugging output goes through this interface now, so it is straightforward to get timestamped debugging traces with +RTS -vt. Also, we plan to use this to generate parallelism profiles from the trace output.
* Gather timing stats for a Task when it completes.Simon Marlow2006-06-071-12/+19
| | | | | Previously we did this just for workers, now we do it for the main thread and for forkOS threads too.
* Reorganisation of the source treeSimon Marlow2006-04-071-0/+315
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.