• 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: OSALoad/OSACompile block when machine is asleep
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OSALoad/OSACompile block when machine is asleep


  • Subject: Re: OSALoad/OSACompile block when machine is asleep
  • From: Markus Hitter <email@hidden>
  • Date: Fri, 9 Nov 2001 21:09:12 +0100

Am Freitag den, 9. November 2001, um 19:36, schrieb Brant Vasilieff:

When the machine is asleep, if I call OSALoad or OSACompile, that thread will wait until I wake the machine, before continuing.

Hmmm - if the machine is asleep, you can't call anything. If some task is in progress, the machine won't fall asleep.

At least this is how I know it.


I'm am able to open the file and fetch the script resource out of it just fine, but when I attempt to load or compile it, it just stops. It's possible that the file is in te disk cache. When I do finally manually wake the machine up the drive spins up, and the script loads and executes just fine.

Are there chances you confuse machine sleep with disk sleep (spin down)?


Is there a way to force the machine to wake up?

Any file read with a cache miss should spin up the disk.


Hope that helps,
Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/


  • Follow-Ups:
    • Re: OSALoad/OSACompile block when machine is asleep
      • From: Brant Vasilieff <email@hidden>
  • Prev by Date: Re: Drag-n-Drop in NSOutlineView
  • Next by Date: Re: Drag-n-Drop in NSOutlineView
  • Previous by thread: OSALoad/OSACompile block when machine is asleep
  • Next by thread: Re: OSALoad/OSACompile block when machine is asleep
  • Index(es):
    • Date
    • Thread