I'm writing an agent that has no GUI interaction. I've written my agent such that it doesn't use that much processor, e.g. by sleeping (for less than 10 seconds). After some time, the Activity Monitor reports my process as "Not Responding". How can I prevent this? I'm assuming that there's some system level event that I must respond to.
Thanks!