- 08 Mar, 2004 5 commits
- 07 Mar, 2004 1 commit
-
-
ross authored
if X is available, build X11 and HGL packages.
-
- 05 Mar, 2004 6 commits
-
-
simonmar authored
Be clearer about when source files must match module names.
-
simonmar authored
Fail with an error if the interface file we're reading doesn't contain the module we were expecting.
-
stolz authored
Fix #ifdef'ed flags for FreeBSD.
-
simonmar authored
comments
-
stolz authored
Reduce noise if there's no in-tree version of Happy.
-
simonmar authored
Fix a URL link
-
- 03 Mar, 2004 2 commits
-
-
simonpj authored
Comments only
-
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.
-
- 02 Mar, 2004 2 commits
- 01 Mar, 2004 10 commits
-
-
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 testsuite/tests/concurrent/should_run/conc040.hs).
-
simonmar authored
Remove Deadlock_closure (not used any more).
-
simonmar authored
add a few RTS ways (combinations) I missed out
-
simonmar authored
Warning police, and omit a useless debugging msg in !RTS_SUPPORTS_THREADS.
-
simonmar authored
wibble
-
simonmar authored
Update version numbering policy: we now allow snapshots along the stable branch (eg. 6.2.20040229).
-
simonmar authored
Update docs for RTS options and GhcRtsThreaded
-
simonmar authored
Add -fno-generics to SRC_HC_OPTS
-
simonmar authored
build target should use '::' not ':'
-
simonmar authored
make it compile (win32)
-
- 28 Feb, 2004 1 commit
-
-
ralf authored
Revised dataTypeOf member in "deriving ( ... Data ...)". This revised schemes relies on the updated modules Data.Typeable and Data.Generics*.
-
- 27 Feb, 2004 5 commits
-
-
simonmar authored
cosmetic only
-
simonmar authored
redo the condition-cache hack
-
simonmar authored
Remove an unnecessary #ifdef
-
simonmar authored
hs_exit(): call exitScheduler() *after* finalizeWeakPointersNow(), because the latter needs to create/run threads.
-
simonmar authored
scheduleWaitThread(): don't call THREAD_RUNNABLE because the new thread is bound, and therefore only runnable by the current OS thread. Calling THREAD_RUNNABLE just wakes up workers and slows things down.
-
- 26 Feb, 2004 8 commits
-
-
simonmar authored
waitCondition: use RELEASE_LOCK/ACQUIRE_LOCK because these check the return value for errors.
-
simonmar authored
Check result of SetEvent() for errors.
-
simonmar authored
#include "RtsUtils.h" for barf prototype
-
simonmar authored
Add the usual multi-slurp protection
-
simonmar authored
Avoid signalling thread_ready_cond if rts_n_waiting_tasks==0.
-
simonmar authored
merge rev. 1.6.2.3 from ghc-6-2-branch
-
simonmar authored
thread_id_mutex isn't required (at least for non-SMP), since createThread is under the Capability.
-
simonmar authored
no need to declare thread_ready_cond
-