Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Call method for NSTimer



On 1/31/06 11:05 AM, "Dean Shavit" <email@hidden> wrote:

> Has Delay been officially removed? I thought it was a bug easily worked
> around.
> 

Thanks for the reply, Dean.

I'm assuming it's a feature now that 2 releases of the OS have implemented
it.

So far the only workarounds I've found appear to tax the system much more
severely than the delay command did.

I've used one method that was derived from Tim B's Countdown timer example
(I think it's similar to Mark's "roll your own" method included in his first
reply in this thread), another that uses the shell command "sleep" and
another that employs compiling the delay command on the fly. The first
appears to tie up system resources to the extent that it severely slows the
process I'm trying to monitor, the second presents a shell script catch 22
whereby if I put the process in the background it doesn't work and if I
don't put it in the background it won't let me interact with my application,
and the third also prevents interaction with the application. The delay
command did not cause these problems for the same code in 10.4.2, so I'm
investigating the C method.

Thanks again.

-- 
Laine Lee
email@hidden
http://lonestar.utsa.edu/llee


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden

References: 
 >Re: Call method for NSTimer (From: Dean Shavit <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.