Re: Core MIDI thread safety
Re: Core MIDI thread safety
- Subject: Re: Core MIDI thread safety
- From: Mark Pauley <email@hidden>
- Date: Mon, 13 Feb 2012 12:37:54 -0800
No. And in general unless the API says different, it's not thread-safe. Use a lock to protect all MIDI* calls so that no threads are calling into CoreMIDI at the same time.
_Mark
On Feb 13, 2012, at 10:28 AM, Jan wrote:
> Do MIDIInputPortCreate, MIDIOutputPortCreate, MIDIPortConnectSource, and similar functions lock data structures internally so that it is safe to call them from multiple threads in parallel?
>
> Thanks!
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Coreaudio-api mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden