Re: Question about the Main Thread
Re: Question about the Main Thread
- Subject: Re: Question about the Main Thread
- From: David Duncan <email@hidden>
- Date: Tue, 25 Apr 2017 08:06:12 -0700
> On Apr 25, 2017, at 7:51 AM, Dave <email@hidden> wrote:
>
> Mac Project.
>
> Hi All,
>
> I’m using performSelector: withObject: afterDelay: in order to postpone further processing until after the current method/run loop as expired, this puts the request at the End of the Queue, my question is, is there anyway of putting it at the head of the Queue so it gets processing before other requests?
Nope, and even if there was there would be no guarantee that something else wouldn’t come behind you and insert itself ahead (or many such things). Your best bet is to consider the request simple queued, with no specific timing in relation to other requests to do the same.
--
David Duncan
_______________________________________________
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