Re: Threading changes in yosemite
Re: Threading changes in yosemite
- Subject: Re: Threading changes in yosemite
- From: Shane Stanley <email@hidden>
- Date: Sun, 19 Oct 2014 07:42:33 +1100
On 19 Oct 2014, at 2:53 am, John C. Welch <email@hidden> wrote:
Does that mean ASOC applications now can have real threading
No. It means that if you're using it in vanilla AS (as opposed to in an Xcode-built project), you need to be careful when using methods that require the main thread, because script editors normally run scripts on a background thread. Script Editor lets you run on the main thread: you need to hold the control key, and Run becomes Run in Foreground. And of course ASObjC Explorer has a similar switch.
You can force stuff onto different threads, but you are still effectively running everything on a single instance of AppleScript, so the result is generally less than satisfactory.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden