• 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: NSRunloop performSelector needs CFRunLoopWakeUp ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSRunloop performSelector needs CFRunLoopWakeUp ?


  • Subject: Re: NSRunloop performSelector needs CFRunLoopWakeUp ?
  • From: "Adam R. Maxwell" <email@hidden>
  • Date: Sat, 24 Jan 2009 20:07:28 -0800


On Jan 24, 2009, at 10:18 PM, Michael Ash wrote:

On Sat, Jan 24, 2009 at 3:42 PM, David Hoerl <email@hidden> wrote:

[...]

The current app is single threaded.

Can anyone shed any light on why the CFRunLoopWakeUp() call is necessary? Is
there some other issue I'm missing?

Look at the big master list of what Cocoa classes are thread safe:

The OP wrote that his app is single threaded, so the lack of NSRunLoop thread safety shouldn't be a problem. It sounds like the event loop is blocking the runloop, so maybe posting a custom event would work as well as tickling the runloop...but that's just a guess.


--
Adam

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

  • Follow-Ups:
    • Re: NSRunloop performSelector needs CFRunLoopWakeUp ?
      • From: Michael Ash <email@hidden>
References: 
 >Re: NSRunloop performSelector needs CFRunLoopWakeUp ? (From: Michael Ash <email@hidden>)

  • Prev by Date: Re: Creating a managed object without adding it to the context?
  • Next by Date: Re: NSRunloop performSelector needs CFRunLoopWakeUp ?
  • Previous by thread: Re: NSRunloop performSelector needs CFRunLoopWakeUp ?
  • Next by thread: Re: NSRunloop performSelector needs CFRunLoopWakeUp ?
  • Index(es):
    • Date
    • Thread