From 6595b815c9fbe64d8a94fcad82abb17b1591795e Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 28 Jun 2011 11:54:27 +0200 Subject: timer: Fix the comments, try to be more clear about what happens --- Timer.st | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Timer.st b/Timer.st index 429df56..45fcae9 100644 --- a/Timer.st +++ b/Timer.st @@ -137,9 +137,9 @@ bit difficult to do this race free.'> copy := sem critical: [queue copy]. "Now execute the timers. One way or another this is crazy. If we have - a long blocking application or a deadlock the timer queue will be get - stuck. But if we run things in a new process the order of the timers - might get run in a different order." + a long blocking application or a deadlock the timer queue will get + stuck. But if we run this in a new process a later process might be run + before this process, changing the order of the timers." copy do: [:each | each timeout > now ifTrue: [^true]. sem critical: [queue remove: each]. -- cgit v1.2.3