From c2d67cab45c9699ffeeb886da04f3d22b0d2c803 Mon Sep 17 00:00:00 2001 From: sof Date: Thu, 7 Feb 2002 06:33:20 +0000 Subject: [PATCH] [project @ 2002-02-07 06:33:20 by sof] Little bit more doc on suspended_ccalling_threads --- ghc/rts/Schedule.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ghc/rts/Schedule.c b/ghc/rts/Schedule.c index 92d2cf6..71daf6a 100644 --- a/ghc/rts/Schedule.c +++ b/ghc/rts/Schedule.c @@ -1,5 +1,5 @@ /* --------------------------------------------------------------------------- - * $Id: Schedule.c,v 1.118 2002/02/06 01:29:27 sof Exp $ + * $Id: Schedule.c,v 1.119 2002/02/07 06:33:20 sof Exp $ * * (c) The GHC Team, 1998-2000 * @@ -185,7 +185,9 @@ StgTSO *sleeping_queue; /* perhaps replace with a hash table? */ */ StgTSO *all_threads; -/* Threads suspended in _ccall_GC. +/* When a thread performs a safe C call (_ccall_GC, using old + * terminology), it gets put on the suspended_ccalling_threads + * list. Used by the garbage collector. */ static StgTSO *suspended_ccalling_threads; -- 1.7.10.4