• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Re: What's the story with OSAScriptController and OSAScriptView.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: What's the story with OSAScriptController and OSAScriptView.


  • Subject: Re: Re: What's the story with OSAScriptController and OSAScriptView.
  • From: has <email@hidden>
  • Date: Fri, 8 Feb 2008 23:37:28 +0000

email@hidden wrote:

I presume you are referring to the OSAScript class.
Do you know if it is thread safe, unlike NSAppleScript?

Note that the AppleScript component itself only supports cooperative threading [1], so thread safety or lack thereof in the OSA API may be somewhat by-the-by.



My app needs to run concurrent scripts.
At present I am firing them off into separate tasks wrapped around
NSAppleScript.

That would be the safest way to do it, assuming you need to use AppleScript in the first place. Are these user-supplied scripts you're running, or are they private to your application?


has

[1] As of 2004 <http://lists.apple.com/archives/Applescript-implementors/2004/Jan/msg00071.html >, and given the language's mostly glacial rate of improvement I'd be surprised if anything's changed since then.

--
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org

_______________________________________________

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


  • Prev by Date: Re: My app breaks when moved while running
  • Next by Date: Re: Objective-C++
  • Previous by thread: Re: What's the story with OSAScriptController and OSAScriptView.
  • Next by thread: Re: What's the story with OSAScriptController and OSAScriptView.
  • Index(es):
    • Date
    • Thread