Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Definitely a bug' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Definitely a bug
Authored by: teferi on Dec 02, '02 02:45:50AM

If it eats 100% cpu, the 'delay' command in AppleScript is busy-waiting instead of , well, using the UNIX sleep() function which is designed for cases like this.
Apple ought to fix this; it's probably a simple patch.



[ Reply to This | # ]
Simple Fix
Authored by: Morgoth on Dec 02, '02 10:10:00PM

They could make 'delay' an alias for 'sleep'.

The backend function for 'delay' would simply pass on it's arguments to 'sleep'.



[ Reply to This | # ]