Re: Perform selector on thread
Re: Perform selector on thread
- Subject: Re: Perform selector on thread
- From: "John C. Randolph" <email@hidden>
- Date: Mon, 24 Mar 2008 04:45:03 -0700
On Mar 24, 2008, at 4:19 AM, Eddy Hatcher wrote:
Hi,
I am detaching a selector "A" on a separate thread in another class.
In this selector I am calling another selector "B" in the same
class using [self performSelector:@selector(B)];
Which thread will this selector "B" be run on? The main, or the one
i created for "A".
Any messages you send will be performed on the same thread unless you
explicitly dispatch them to another thread.
-jcr
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden