
8 Nov
2011
8 Nov
'11
7:01 p.m.
On Tuesday, November 08, 2011 13:19:22 Peter Dimov wrote:
Andrey Semashev wrote:
1. If boost::atomic<> doesn't support multi-module applications, that is it silently works incorrectly in such environments, sould it really support these platforms?
"Doesn't support multi-module applications" is not the same as not supporting sharing an atomic between DLLs. Many multi-module applications will never need to do that. I can't think of an example that isn't either contrived or a bad idea.
Yes, I meant atomic<> crossing DLL boundaries, of course. However, I don't find such use cases contrived or bad.