Re: Multi-threaded - thanks
Re: Multi-threaded - thanks
- Subject: Re: Multi-threaded - thanks
- From: Bill Briggs <email@hidden>
- Date: Fri, 7 Nov 2003 23:24:07 -0400
At 2:22 PM -0800 07/11/03, Christopher Nebel wrote:
Before you couldn't even click in a second Script Editor window to
run a script. The system just beeped at you. Now you can actually
run a second thread at the same time as the first.
I had thought you were referring to applets, but this bit means
you're actually talking about Script Editor. Yes, Script Editor 2.0
will run multiple scripts at once.
Which one could never do before, correct?
It can do this because AppleScript has (and has always had)
sufficient infrastructure to do cooperative threading.
Which one could never actually use before because the editor
wouldn't allow it, correct?
Of course, trying to thread two executions of the same script may
or may not work well, since AppleScript lacks any concept of
synchronization or critical sections.
Which it will not lack in a soon-to-be-released update?
The two scripts I used were not the same script. They both executed
as expected.
There are not many instances when I'd like to execute more than one
applet at a time, but there are many times when I'm writing scripts
that I want to do something in another script window while a script
is running.
So correct this if it's wrong. The ability to run two scripts in
Script Editor simultaneously is not related to the FIFO/LIFO change,
but some other change in Script Editor itself.
- web
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.