[osg-submissions] Use atomic reference counts

Mathias Fröhlich M.Froehlich at science-computing.de
Thu Jun 19 23:05:18 PDT 2008


Hey,

On Thursday 19 June 2008 18:28, Robert Osfield wrote:
> I have now done a more thorough review of your changes to Referenced
> and now understand much better the relationship with
> OpenThreads::AtomicPtr and how the observers get managed.  With this
> better understanding I'm now happy with the code changes and have gone
> ahead and merged, tested and submitted the changes.
Ahh, long description in the previous mail. You already got that :)

> Many thanks for you efforts and patience of atomic ref counting,
> finally it's now all safely installed and purring along nicely :-)
:)

> Next up it's finding out how the rest of platform cope with the new
> OpenThreads::Atmoic, fingers crossed things will port just fine.
Yep. I have done some testing here, but anyway...

There might be also other architectures/compilers that might have such 
builtins I did not know. The PA/RISC ones are one of them. If somebody knows 
an implementation here ...

The i386 case is also something we can improove. But with that special case of 
the ancient i386 in contrast to i486 and upwards and the behaviour of gcc in 
that architecture, I need to do some work to enable that use in a safe 
way ...

Greetings and have fun :)

Mathias

-- 
Dr. Mathias Fröhlich, science + computing ag, Software Solutions
Hagellocher Weg 71-75, D-72070 Tuebingen, Germany
Phone: +49 7071 9457-268, Fax: +49 7071 9457-511
-- 
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Florian Geyer,
Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Prof. Dr. Hanns Ruder
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196 




More information about the osg-submissions mailing list