On Mar 19, 2016, at 00:12:39, Ken Thomases <[email protected]> wrote: > > > Why are you running the main run loop? For how long are you running it? Why > aren't you running it in a private mode if it's for private purposes? Are > you generally letting the main event loop run normally?
This is old code that I didn't write. I believe it is being run just to give the window time to update. It's being run for 0.1 second. Yes, otherwise the main event loop just runs normally. There may have been some need for this in older OS's - I don't know, as I've only been at this job for almost a year. I think last week we had experimented with removing the runUntilData: call and still experienced the lockup until we connected to that machine. I could be wrong - we tried tons of things. > The main thread is blocked waiting on some other thread. So, what are the > other threads doing? There's one thread that's doing the bulk of our work, which is what caused the main thread to need to update the window. -- Steve Mills Drummer, Mac geek _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
