[project @ 2002-01-31 11:18:06 by sof]
authorsof <unknown>
Thu, 31 Jan 2002 11:18:07 +0000 (11:18 +0000)
committersof <unknown>
Thu, 31 Jan 2002 11:18:07 +0000 (11:18 +0000)
commit3b9c5eb29bbb47a5733e37c9940789342d9d6f49
treefa66abcae9b9ba4f57c8955d7731f3886dc10229
parente282fcb3992097bb1433bc41bd3b5bd1dfafc4d2
[project @ 2002-01-31 11:18:06 by sof]
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.
ghc/rts/Capability.c [new file with mode: 0644]
ghc/rts/Capability.h [new file with mode: 0644]
ghc/rts/Makefile
ghc/rts/OSThreads.c [new file with mode: 0644]
ghc/rts/OSThreads.h [new file with mode: 0644]
ghc/rts/Schedule.c