[v3] mutex duplicate removal
Wed Sep 13 23:23:00 GMT 2006
This merges various mutex code scattered around the library into
ext/concurrence.h. In doing so, all duplicate effort has been
eliminated, and mutexes construction and initialization should now be
done in a consistent way throughout the library.
Two include files were moved from bits to ext, since they are
extensions and already in namespace __gnu_cxx, and should have been in
this include directory from the beginning.
I think some of the loops for threaded code could become simpler. I
believe with -02, gcc can now optimize
Since __gthread_active_p() is 0 on systems without defined(__GTHREADS)
the obvious cleanup (not attempted) could be applied.
tested x86/linux --disable-threads
tested x86/linux abi
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 15430 bytes
Desc: not available
More information about the Libstdc++