• 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: Cocoa callback handling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa callback handling


  • Subject: Re: Cocoa callback handling
  • From: "Shawn Erickson" <email@hidden>
  • Date: Mon, 6 Aug 2007 09:33:41 -0700

On 8/6/07, James Trankelson <email@hidden> wrote:

> Where the setupSN procedure sets up the callback. The callback
> initialization proceeds fine, but the callback procedure is never
> called. Is there something I need to do to get my callback to be
> called when setting things up in a separate thread like this?  Can
> someone help me understand why I don't receive callbacks?

Well not knowing anything about this 3rd party product... maybe you
need to run a runloop in this secondary thread? Often event
notification systems like this will attach themselves to the current
runloop (each thread has one) and for the events to flow the runloop
need to be running.

-Shawn
_______________________________________________

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: 
 >Cocoa callback handling (From: "James Trankelson" <email@hidden>)

  • Prev by Date: Re: Cocoa callback handling
  • Next by Date: NSSearchField small size
  • Previous by thread: Re: Cocoa callback handling
  • Next by thread: Changing permissions for folder using cocoa
  • Index(es):
    • Date
    • Thread