marten_range
December 7th, 2004, 04:54 AM
I believe that anyone who is interested in robust multithreading programming in C++ should read Andrei's article:
http://www.cuj.com/documents/s=7998/cujcexp1902alexandr/
PS. Andrei received a lot of heat for promoting the controversial double checked locking pattern in Modern C++ Design. The article above is not about the double checked locking pattern but a much more subtle and interesting use of volatile.
http://www.cuj.com/documents/s=7998/cujcexp1902alexandr/
PS. Andrei received a lot of heat for promoting the controversial double checked locking pattern in Modern C++ Design. The article above is not about the double checked locking pattern but a much more subtle and interesting use of volatile.