Re: Callbacks, GUI updates and threading
Re: Callbacks, GUI updates and threading
- Subject: Re: Callbacks, GUI updates and threading
- From: Andreas Mayer <email@hidden>
- Date: Sun, 9 May 2004 19:25:09 +0200
Am 09.05.2004 um 17:44 schrieb Brent Gulanowski:
although I
suppose there is the option of just terminating the thread with
prejudice.
There is no option to terminate a thread from the outside.
You have to check for a termination condition in in the thread itself.
But that's not hard. Since you only need to read a flag from inside,
no locking is needed. To update your UI you can use
performSelectorOnMainThread:...
Andreas
_______________________________________________
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.