• 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: Core MIDI thread safety
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Core MIDI thread safety (From: Jan <email@hidden>)

  • Prev by Date: Re: Getting Started with Core Audio ???
  • Next by Date: Re: Getting Started with Core Audio ???
  • Previous by thread: Core MIDI thread safety
  • Next by thread: Single callback for several busses
  • Index(es):
    • Date
    • Thread