[project @ 2005-05-23 13:39:55 by simonmar]
authorsimonmar <unknown>
Mon, 23 May 2005 13:39:55 +0000 (13:39 +0000)
committersimonmar <unknown>
Mon, 23 May 2005 13:39:55 +0000 (13:39 +0000)
commit58150db00f8f75d098b7e9deb5cb5555e8a5ab58
tree9349c950b9420065434b143bbf0d602c67e8bc2a
parent7fe37ed4b8f38430d04ef4024aaa9cea73f5600a
[project @ 2005-05-23 13:39:55 by simonmar]
- scheduleDetectDeadlock() should invoke GarbageCollect() via
  scheduleDoGC(), which collects the Capabilities first.

- scheduleDoGC() doesn't need the Capability.  Also, it appears that
  there was an out-of-bounds array access in here.

- add printThreadQueue(), useful from gdb.

- fix a couple of warnings.
ghc/rts/Schedule.c