• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Question about the Main Thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Help Indexing (From: "Frank D. Engel, Jr." <email@hidden>)
 >Question about the Main Thread (From: Dave <email@hidden>)

  • Prev by Date: Question about the Main Thread
  • Next by Date: Repository of older (outdated) PDF Guides?
  • Previous by thread: Question about the Main Thread
  • Next by thread: Re: Question about the Main Thread
  • Index(es):
    • Date
    • Thread