diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-06-28 11:54:27 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-06-28 11:54:27 +0200 |
commit | 6595b815c9fbe64d8a94fcad82abb17b1591795e (patch) | |
tree | 7b76542132c94f71311dcfc4d791bab071b63061 | |
parent | 8fd1c0096859354a9e5f06c5b515c9f0210da96e (diff) |
timer: Fix the comments, try to be more clear about what happens
-rw-r--r-- | Timer.st | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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]. |