Re: Newbie documentation for MIDI
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.