Re: Threads Question
Re: Threads Question
- Subject: Re: Threads Question
- From: Scott Cherf <email@hidden>
- Date: Thu, 18 Mar 2010 16:45:40 -0700
Thanks to Phi for pointing out that I didn't cc the list on this reply -- Scott.
On Mar 17, 2010, at 7:36 AM, Philippe Sismondi wrote:
>
> Because the length of time that this secondary task takes is highly variable, I want to be able to cancel its processing from the main app. So, I want to launch the secondary task in a separate thread to keep the main runloop responsive. (This is of course a very common GUI issue.)
>
I don't have any experience with threads but it sounds like you just want to run another process (ghostscript?) in the background and get notification when it completes, with the option of stopping it if the operator thinks it's taking too long?
If so, download the Moriarty tutorial/example (you can find it with Xcode under Help -> Developer Documentation). It lays out how to do that and also shows you how to communicate with the process while it's running._______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden