executeSelector: withRunLoop:
executeSelector: withRunLoop:
- Subject: executeSelector: withRunLoop:
- From: Kevin Elliott <email@hidden>
- Date: Mon, 24 Jun 2002 11:23:01 -0700
Greetings.
I've been working on our app for awhile and I've run into a bit of a snag.
My app spins off a worker thread that the main thread then monitors to
display progress, etc. The problem I've got is that when the thread
completes it's work I need to execute some quasi-cleanup code and that code
_MUST_ execute on the main thread/runloop. I'm using a generic progress
class I wrote so I don't really want to clutter up the progress class with
this. What I really want is some magic method that will let me execute an
arbitrary selector in a different runloop but I've had no success in
figuring out how to do that. I'm rather new to Cocoa which doesn't help any
either. Any suggestions?
-Kevin Elliott
Jedi Knight Ellke Bagen
CharisMac Engineering
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.