From 62150b6f5a86ff27dfb6900c3ac7395f72b06b51 Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 1 Dec 1999 14:19:36 +0000 Subject: [PATCH] [project @ 1999-12-01 14:19:36 by simonmar] SMP comment --- ghc/rts/Itimer.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ghc/rts/Itimer.c b/ghc/rts/Itimer.c index 7003e16..dc17e49 100644 --- a/ghc/rts/Itimer.c +++ b/ghc/rts/Itimer.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Itimer.c,v 1.6 1999/09/16 08:33:54 sof Exp $ + * $Id: Itimer.c,v 1.7 1999/12/01 14:19:36 simonmar Exp $ * * (c) The GHC Team, 1995-1999 * @@ -52,6 +52,10 @@ static void handle_tick(int unused STG_UNUSED); We use the ticker for two things: supporting threadDelay, and time profiling. + + SMP note: this signal could be delivered to *any* thread. We have + to ensure that it doesn't matter which thread actually runs the + signal handler. -------------------------------------------------------------------------- */ static void -- 1.7.10.4