Re: CF Types and AU
Re: CF Types and AU
- Subject: Re: CF Types and AU
- From: Herbie Robinson <email@hidden>
- Date: Tue, 5 Aug 2003 18:42:38 -0400
... (this new API) goes against the principles of CoreFoundation
reference counting... [goes on to mention incorrect stuff about
how CF works like Cocoa]
Core Foundation ... has no concept of auto-releasing pools, or any
of the other abstractions of Cocoa's object model ...
I know next to nothing about AU, but I do know CF pretty well.
In CF, the result of a Copy or Create function must be (explicitly)
released and the result of a Get function must not. (This is all
quite independent of Cocoa except from the perspective of historical
influence.) There are exceptions, but they are considered bugs.
Actually, the standard CF behavior you describe is inherently not
thread safe; so, I would claim that the standard behavior is a bug.
Given that Core Audio is heavily involved with multi-threading, I
would say they did the correct thing.
--
-*****************************************
**
http://www.curbside-recording.com/ **
******************************************
_______________________________________________
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.