• 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: Thread and event loop.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thread and event loop.


  • Subject: Re: Thread and event loop.
  • From: Andy Lee <email@hidden>
  • Date: Mon, 13 Oct 2008 11:53:39 -0400

On Oct 13, 2008, at 11:44 AM, Daniele Basile wrote:
I have two thread, the main thread and the secondary thread. In main thread I manage my
application, but secondary thread manage some events. That because manage these events in
the main thread is slow. There is way to manage event loop directly from secondary thread,
without subclass the NSView class?

Can you be more specific? By "event", do you literally mean NSEvents? What kind of events are you handling in the secondary thread, and why are they slow, and how are you spawning that thread and communicating with it? What does your application do?


--Andy

_______________________________________________

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: 
 >Thread and event loop. (From: Daniele Basile <email@hidden>)

  • Prev by Date: [moderator ]Re: Cocoa Programmer Hourly Rate
  • Next by Date: Re: NSTableView and drag and drop
  • Previous by thread: Thread and event loop.
  • Next by thread: MEETING: Chicago CocoaHeads/CAWUG Tuesday Oct 14th
  • Index(es):
    • Date
    • Thread