Subj : Re: C++ and lock-free To : comp.programming.threads From : Chris Thomasson Date : Mon Sep 19 2005 07:36 am "Joe Seigh" wrote in message news:GfOdnXs-7-OFE7feRVn-uQ@comcast.com... > If C++0x ever gets out of being stuck in an infinite loop on > the memory model, where does anyone think C++ is going on lock-free Wouldn't it be a bit complicated to create a truly lock-free version of the STL? I believe that a lock-free read version of the STL would be doable. But, even then... They could run into some problems with iterating threads observing that an object is in a STL collection "after" it has been removed by another thread. However, we all know that this is completely normal behavior wrt algorithms like VZOOM, RCU, SMR, ect... ;) I believe these subtitle differences could be in conflict with some existing designs; C++ might have some big problems here? > the stuff Herb Sutter keeps mentioning but I've What kind of stuff is that? > never seen any specific examples except for some simplistic > under the covers COW stuff for string which usually devolves > into discussions about bad design decisions of Std::String? :) .