On Mon, Mar 24, 2008 at 7:19 AM, Eddy Hatcher <[EMAIL PROTECTED]> wrote:
>   Which thread will this selector "B" be run on? The main, or the one
>  i created for "A". I want selector "B" to be run on the same thread as
>  for "A".

Yes, B will be called on the same thread, but whether the contents of
B executes on the same thread as A is up for grabs.  It depends on
what B does, quite frankly; if B thunks down to AppKit or posts a
message to the notification center or something, all bets are off.
But as for the message sending itself, that's just a call to
objc_msgSend, so it happens on the same thread.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to