summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-06-28 11:54:27 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-06-28 11:54:27 +0200
commit6595b815c9fbe64d8a94fcad82abb17b1591795e (patch)
tree7b76542132c94f71311dcfc4d791bab071b63061
parent8fd1c0096859354a9e5f06c5b515c9f0210da96e (diff)
timer: Fix the comments, try to be more clear about what happens
-rw-r--r--Timer.st6
1 files 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].