• 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: "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

  • Follow-Ups:
    • Re: Cocoa callback handling
      • From: Scott Ribe <email@hidden>
References: 
 >Cocoa callback handling (From: "James Trankelson" <email@hidden>)
 >Re: Cocoa callback handling (From: Jonathon Mah <email@hidden>)

  • Prev by Date: Re: CoreData can't handle booleans in metadata
  • Next by Date: Re: Cocoa callback handling
  • Previous by thread: Re: Cocoa callback handling
  • Next by thread: Re: Cocoa callback handling
  • Index(es):
    • Date
    • Thread