- 26 Feb, 2004 1 commit
-
-
simonmar authored
#include "RtsUtils.h" for barf prototype
-
- 15 Dec, 2003 1 commit
-
-
simonmar authored
Fix bogosity in implementation of ACQUIRE_LOCK/RELEASE_LOCK on Win32. These functions were essentially doing nothing, due to a missing dereference on the argument. I've rewritten them as inlines (to catch type errors) and added some checking of the return values, which should help catch errors like this in the future.
-
- 13 Apr, 2002 1 commit
-
-
sof authored
debug versions of ACQUIRE_LOCK() and RELEASE_LOCK() macros
-
- 14 Feb, 2002 1 commit
-
-
sof authored
win32: make it compile
-
- 04 Feb, 2002 1 commit
-
-
sof authored
- renamed MutexVar to Mutex, CondVar to Condition. - added yieldThread(). - simplified/specialised type of entry point to new (native) threads; now takes no args & returns no result.
-
- 31 Jan, 2002 2 commits
-
-
sof authored
Win32 implementation, first pass.
-
sof authored
First steps towards implementing better interop between Concurrent Haskell and native threads. - factored out Capability handling into a separate source file (only the SMP build uses multiple capabilities tho). - factored out OS/native threads handling into a separate source file, OSThreads.{c,h}. Currently, just a pthreads-based implementation; Win32 version to follow. - scheduler code now distinguishes between multi-task threaded code (SMP) and single-task threaded code ('threaded RTS'), but sharing code between these two modes whenever poss. i.e., just a first snapshot; the bulk of the transitioning code remains to be implemented.
-