Re: OSALoad/OSACompile block when machine is asleep
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/