FROM : Gwynne
DATE : Fri Nov 19 18:55:10 2004
On Nov 19, 2004, at 12:39 PM, Shawn Erickson wrote:
> Why are using using a timer that way? I don't follow how a timer of 5
> years is useful...
>
> Guessing at what you are attempting to do... consider using an
> NSConditionLock or some such thing if you are trying to gate something
> from running, etc.
It's not always used that way. The timer has a variable interval. The
5-year interval is used when the associated UI object has been disabled
so that I don't have to keep checking whether or not the timer exists.
It's a convenience.
-- Gwynne, key to the Code that runs us all
Email: <email_removed>
Web: http://musicimage.plasticchicken.com/
DATE : Fri Nov 19 18:55:10 2004
On Nov 19, 2004, at 12:39 PM, Shawn Erickson wrote:
> Why are using using a timer that way? I don't follow how a timer of 5
> years is useful...
>
> Guessing at what you are attempting to do... consider using an
> NSConditionLock or some such thing if you are trying to gate something
> from running, etc.
It's not always used that way. The timer has a variable interval. The
5-year interval is used when the associated UI object has been disabled
so that I don't have to keep checking whether or not the timer exists.
It's a convenience.
-- Gwynne, key to the Code that runs us all
Email: <email_removed>
Web: http://musicimage.plasticchicken.com/
| Related mails | Author | Date |
|---|---|---|
| Gwynne | Nov 19, 18:19 | |
| Shawn Erickson | Nov 19, 18:39 | |
| Gwynne | Nov 19, 18:55 | |
| Shawn Erickson | Nov 19, 19:13 | |
| Gwynne | Nov 19, 19:39 | |
| John C. Randolph | Nov 20, 00:04 |






Cocoa mail archive

