Hi Stephan,

On 22/03/12 22:29 , Stephan Maximilian Huber wrote:
> Am 22.03.12 03:01, schrieb Ulrich Hertlein:
>> This recently broke for me on OS X (with clang 3.1) as well.  Casting 
>> 'ptrOld' to (void*)
>> works and this is also done for the other implementations (WIN32_INTERLOCKED 
>> and
>> BSD_ATOMIC) as well.
>>
>> No ideal, both 'ptrOld' and 'ptrNew' are only read and could actually both 
>> be const but
>> aren't for some reason.
> 
> thanks for the feedback, there's even a simpler solution: use the
> BSD_ATOMIC implementation for IOS and OS X.

Simpler maybe, but I would expect that to be more expensive in CPU terms than a 
CPU
opcode.  Not?

Cheers,
/ulrich
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to