• 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: Newbie documentation for MIDI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie documentation for MIDI


  • Subject: Re: Newbie documentation for MIDI
  • From: Chris Reed <email@hidden>
  • Date: Tue, 26 Nov 2002 18:26:15 -0600

On Tuesday, November 26, 2002, at 06:07 pm, Kurt Bigler wrote:

on 11/26/02 12:42 PM, Thomas Hudson <email@hidden> wrote:

The approach I used was to use a mach port, which I believe allows
stuffing a message into without blocking (using mach_msg). Then in
the UI thread, an NSPort can monitor this in the runloop. See
NSPort:scheduuleInRunLoop:forMode and NSPort:handleMachMessage.

on 11/26/02 12:36 PM, Michael Thornburgh <email@hidden> wrote:

for cross-thread communication, you're _supposed_ to use <snip>

Any suggestions for how to do this without using objective C?


In that case, I would take a look at CFPort and CFPortMessage. You can probably use almost exactly the same code as what Michael posted. But I've never used those CF objects, so I'm not certain.

-chris
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Newbie documentation for MIDI
      • From: Doug Wyatt <email@hidden>
References: 
 >Re: Newbie documentation for MIDI (From: Kurt Bigler <email@hidden>)

  • Prev by Date: Re: mLan and MacOS X
  • Next by Date: Re: Newbie documentation for MIDI
  • Previous by thread: Re: Newbie documentation for MIDI
  • Next by thread: Re: Newbie documentation for MIDI
  • Index(es):
    • Date
    • Thread