Why isn't ICollectionOnSTLImpl thread-safe? 
Author Message
 Why isn't ICollectionOnSTLImpl thread-safe?

From a casual examination of the source code for ICollectionOnSTLImpl
(and seeing what others have said on this subject), it appears that
this class isn't thread-safe in its use of the STL collection member
variable m_coll.

Is there a reason that this class doesn't apply locks around the
operations on the m_coll member variable?

Is the reason perhaps that the class is only useful in implementing
enumeration, and those objects should really only ever be defined as

Dave Lowndes
MVP VC++ FAQ: http://www.*-*-*.com/
My address is altered to discourage junk mail.
Please post responses to the newsgroup thread,
there's no need for follow-up email copies.

Mon, 17 May 2004 17:25:19 GMT  
 [ 1 post ] 

 Relevant Pages 

1. NULL isn't 0/0 isn't NULL

2. why isn't stdio full-duplex?

3. Top Left Icon - Why Isn't it Showing Up Correctly

4. Why isn't malloc necessary here?

5. HELP - why isn't ld working

6. why isn't there a strcasestr ?

7. Why isn't there a ->= operator?

8. Why isn't this working?

9. Why isn't there a logical XOR?

10. Why isn't one interface registered?

11. Why isn't ATL complete?

12. Why isn't this legal C++


Powered by phpBB® Forum Software