[RFC] libstdc++ atomicity, x86 agnostic version

Paolo Carlini pcarlini@suse.de
Wed Feb 25 19:59:00 GMT 2004


Thanks Jakub for your constructive and detailed reply.

Jakub Jelinek wrote:

>The only question is _M_remove_reference in ios_base.h.
>The command above it says:
>// 0 => OK to delete.
>If the return value is only tested for == 0 or != 0, then this can be
>handled on i386 as well.
>
A quick grep reveal only:

./src/ios.cc:217:    while (__p && __p->_M_remove_reference() == 0)

so, it looks like we are lucky ;)

Are you willing to work out a patch???

Paolo.




More information about the Libstdc++ mailing list