Monday, August 19, 2002


Writing code for MacOS 9 is a big pain. I need to make my client code run under 9 as well as X. Right now my client code sleeps until it's time to call the server, starts a new code, and puts the main thread back to sleep. This works nicely under X and uses no CPU time when it's sleeping. However, under 9 it locks up the whole system while it's sleeping.

It looks like the right way to do this is using Carbon Events. I need to set event timers and then just call RunApplicationEventLoop. This should work properly under 9 as well as X.
4:12:07 PM    Comments []