
8 Nov
2011
8 Nov
'11
11:19 a.m.
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.
2. If (1) is true then boost::atomic<> usefullness is greatly reduced.
I wouldn't say so.