> Depending on your sleep interval and the time it takes your application to 
> startup, you could end up hitting one of the watchdog timers and having your 
> application get killed.
Oh! Thanks for this information David :-) 

Regards,
Dikshith

  


On 26-Aug-2010, at 1:05 AM, David Duncan wrote:

> On Aug 25, 2010, at 12:27 PM, Dikshith Rai wrote:
> 
>> You can also do this without creating a new view. Just put a sleep() in App 
>> delegate
> 
> 
> Please don't do this in shipping software. Depending on your sleep interval 
> and the time it takes your application to startup, you could end up hitting 
> one of the watchdog timers and having your application get killed.
> 
> Basically you should NEVER block the main thread for any reason.
> --
> David Duncan
> 
> 

-----------------------------------------------
Robosoft Technologies - Come home to Technology

Disclaimer: This email may contain confidential material. If you were not an 
intended recipient, please notify the sender and delete all copies. Emails to 
and from our network may be logged and monitored. This email and its 
attachments are scanned for virus by our scanners and are believed to be safe. 
However, no warranty is given that this email is free of malicious content or 
virus.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to