patch: _Atomic_swap implementation for g++-v3/bits/stl_threads.h

Dimitris Vyzovitis vyzo@media.mit.edu
Wed Sep 19 18:14:00 GMT 2001


Hi,

here is a patch for g++-v3/bits/stl_threads.h which provides _Atomic_swap 
with gthreads. 
It's a simple patch (direct conversion of the pthread code), but it 
nevertheless makes ropes usable again in a threaded environment.

-- dimitris
   mailto:vyzo@media.mit.edu


More information about the Libstdc++ mailing list