If I use an executed selector inside an internally threaded thread, while executing the main thread? Does it do this immediately after the end of the current main thread operation, or is there any other type of hierarchy that determines whether the performer executes anonymiththread call?
This executes on the next run of the run loop of the main thread of the main thread.
Referring to Apple's documentation:
This method uses the default run loop mode to send messages to the main loop on the run loop - from the NSRN Loop Commonmodes constant Is the connected mode. As part of its normal run loop processing, the main thread decouches the message (it is assumed that this is running in a default running loop mode) and invites the desired method.
Comments
Post a Comment