• 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
Multithreading and yielding (was Re: AS Libraries for stay-open CGIs)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multithreading and yielding (was Re: AS Libraries for stay-open CGIs)


  • Subject: Multithreading and yielding (was Re: AS Libraries for stay-open CGIs)
  • From: email@hidden
  • Date: Sat, 17 Feb 2001 02:02:46 EST

In a message dated 2/17/01 12:30:28 AM, Cris wrote:

>on 16.02.2001 22:14 Uhr, email@hidden at email@hidden wrote:
>
>> Exactly. Two handlers in the same script cannot execute simultaneously,
but 2
>> scripts will run in parallel. Applescript is very good (too good sometimes)
>> in yielding CPU time to other processes.
>>
>> Sadly, I am told this will not change in MacOS X.
>
>I'm generally happy with the cpu priority of scripts. It's good that they
>have a low priority and they are mostly fast enough, though. If you need
>more, you could use Peek-a-Boo to raise it. Under OS X it's the 'nice'
>parameter that gives a app priority (haven't played much with it).
>
>'nice' is build-in, so i would say it changes with OS X - it depends on you.

I'm sorry, it seems my paragraph was poorly focused for the point I was
trying to make. What I meant was that, under MacOS X, 2 handlers in one
script will still be unable to execute simultaneously, truly a shame for a
multithreaded OS.

I really don't have a serious gripe about the CPU priority of scripts,
although it would be fantastic is this was something that could be set by an
Applescript, eg.

set priority of me to highest
set my CPU share to 50%
set priority of application "CPU hog" to low

Suggestion for AS 1.7?

Jeff Baumann
email@hidden
www.linkedresources.com

10 Days, 10 Hours, 29 Minutes
How is it going to end?


  • Follow-Ups:
    • Re: Multithreading and yielding (was Re: AS Libraries for stay-open CGIs)
      • From: What does not kill you only makes you stronger <email@hidden>
  • Prev by Date: Re: Invisible files
  • Next by Date: Re: WHEN WILL THE LIST SERVER BE FIXED?
  • Previous by thread: Re: Invisible files
  • Next by thread: Re: Multithreading and yielding (was Re: AS Libraries for stay-open CGIs)
  • Index(es):
    • Date
    • Thread