Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sound Manager calls thread safe?




On Nov 29, 2005, at 3:01 PM, David Niemeijer wrote:

I have been looking at the headers but find no info on whether the calls below are supposed to be thread safe or not. Don't know whether that is a good or bad sign :-)


It's always a bad sign :) You typically have to assume that calls not documented as thread safe are in fact not thread safe. 

SndNewChannel

SndDoImmediate

SndPlay


It seems especially unlikely that anybody would have gone out of their way to make these thread safe. If they are, I would guess it's because of good fortune with regard to what they in turn call at a lower level being thread safe.

What's interesting about these functions is that they are technically part of QuickTime. Apple has a technote about thread-safe programming, but unfortunately it doesn't speak much to the "Sound Manager" part of QuickTime:


You might have better luck getting a up or down judgment with some authority if you ask about this on the QuickTime mailing list.

Daniel

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >Sound Manager calls thread safe? (From: David Niemeijer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.