Skip navigation.
 
mlRe: Perform selector on thread
FROM : John C. Randolph
DATE : Mon Mar 24 12:45:03 2008

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

Related mailsAuthorDate
mlPerform selector on thread Eddy Hatcher Mar 24, 12:19
mlRe: Perform selector on thread John C. Randolph Mar 24, 12:45
mlRe: Perform selector on thread Tony Becker Mar 24, 13:35
mlRe: Perform selector on thread Kyle Sluder Mar 24, 15:50
mlRe: Perform selector on thread Mike Mar 25, 06:19
mlRe: Perform selector on thread Randall Meadows Mar 25, 22:07