On Mar 7, 2008, at 6:10 AM, Boris Kolpackov wrote:

        - Remove the routines altogether, if we really don't use them
        anymore.

Atomic ops were used in deprecated DOM implementation which has been
removed in 3.0.0. It will also take a substantial effort to provide
proper implementation (see above) for all platforms. I am therefore
for removing the thing altogether (If we ever need them (and I really
hope we won't) we will have to provide an implementation that is faster
than mutexes and this will be many times harder than restoring stuff
from SVN).

I couldn't find any use of atomicIncrement or atomicDecrement. But I did see at least one use of the compareAndSwap routine, somewhere in the transcoder support, I believe, though I didn't look into that usage to see if it's really necessary. The compareAndSwap routine interface is better, as it swaps void*, which is at least a reasonable type.

James

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to