Re: Cocoa callback handling
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