[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] [bug] Delay issue
From: |
Gwenael Casaccio |
Subject: |
[Help-smalltalk] [bug] Delay issue |
Date: |
Sat, 21 Jan 2012 09:54:11 -0700 |
Issue status update for
http://smalltalk.gnu.org/node/631
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/631
Project: GNU Smalltalk
Version: <none>
Component: VM
Category: bug reports
Priority: normal
Assigned to: MrGwen
Reported by: MrGwen
Updated by: MrGwen
Status: active
In master I've the following problem with Delay.
st> d := Delay forSeconds: 2.
st> d wait
(wait two seconds)
st> d wait
(doesn't wait anymore)
st> d reset; wait
(wait again two seconds)
If I change Delay class>>#unscheduleDelay: it works
Delay class >> unscheduleDelay: aDelay [
"Private - Unschedule this Delay. Run in the timer process, which
is the only one that manipulates Queue."
| activeDelay |
activeDelay := self activeDelay.
activeDelay isNil ifTrue: [^self].
aDelay reset.
activeDelay == aDelay ifTrue: [^Queue removeLast].
Queue identityRemove: aDelay ifAbsent: [].
]
- [Help-smalltalk] [bug] Delay issue,
Gwenael Casaccio <=
- Message not available
- Message not available
- Re: [Help-smalltalk] [bug] Delay issue, Paolo Bonzini, 2012/01/21
- Message not available
- Re: [Help-smalltalk] [bug] Delay issue, Gwenael Casaccio, 2012/01/22
- Re: [Help-smalltalk] [bug] Delay issue, Ladislav Marek, 2012/01/28
- Re: [Help-smalltalk] [bug] Delay issue, Paolo Bonzini, 2012/01/31
- Re: [Help-smalltalk] [bug] Delay issue, Gwenaƫl Casaccio, 2012/01/31