Re: Cocoa callback handling
Re: Cocoa callback handling
- Subject: Re: Cocoa callback handling
- From: "James Trankelson" <email@hidden>
- Date: Mon, 6 Aug 2007 12:26:19 -0400
Well, when the callback is set up and working properly, it is invoked
at a very high frequency. Spawning a new thread each time would be
overkill.
-jt
On 8/6/07, Jonathon Mah <email@hidden> wrote:
> Hi James,
>
> On 2007-08-06, at 17:17, James Trankelson wrote:
>
> > The SDK provided allows an app to register for callbacks via a
> > function:
> >
> > oserr = InstallConnexionHandlers(SNHandler, 0L, 0L);
> >
> > [...] The problem is that callback handling is interfering with the
> > fluidity
> > of my running app.
>
> What if you have your callback function immediately spawn a thread to
> handle the event? Or is the bottleneck somewhere else?
>
>
>
>
> Jonathon Mah
> email@hidden
>
>
>
_______________________________________________
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