
18 Feb
2010
18 Feb
'10
1:32 p.m.
On Feb 18, 2010, at 3:34 AM, Anthony Williams wrote:
Zachary Turner <divisortheory@gmail.com> writes:
It would be nice for them to be available in situations that arent affected by this bug. Is there a workaround that can be applied for this one case?
I could put an "if not MSVC 10" test around the boost::thread constructor.
Perhaps a better solution would be to create a config macro HAS_MSVC_BUG_525239 and use that to control compilation of the boost::thread constructor. That way, if Microsoft fixes the bug in a service pack, the better code can be used even though it's still MSVC 10.