In article <bj2c60$e1rbc$1ID-196037.news.uni-berlin.de>,
"John Harrison" <john_andronicushotmail.com> wrote:
When you want to sleep, just call WaitNextEvent() in a loop, with> How do I pause my application for a given number of seconds without blocking
> any other application or user input? I've found the sleep function but that
> seems to lock the entire system while it executes. I'm hoping there's a
> simple answer.
allowing only activate, update, and high level events, until the
event.when field is after the target time (or the user cancels)
Remember that you can receive a quit appleEvent at this point, so be
sure your code handles that case gracefully.