From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-11-26 13:18:28


There are some fresh statechart failures:

   http://tinyurl.com/wsdcj

The seem to be related to my change to Boost.Build, that makes it
(correctly) set threading=multi on msvc, on the grounds that it always uses
multi-threading with shared runtime.

The comments in libs/statechart/test/Jamfile.v2 say:

 # Some platforms have either problems with the automatic detection of the
 # threading mode (e.g. vc-7_1 & gcc >= 3.4.0) or don't support single-
 # threaded mode (e.g. vc-8_0). We therefore manually turn MT off here
 local st-requirements = <define>BOOST_DISABLE_THREADS ;

 for local cpp-source in $(cpp-sources)
  {
    obj $(name)$(cpp-source)
      : $(cpp-source).cpp
      : <threading>single:$(st-requirements) $(requirements) ;
    objs += $(name)$(cpp-source) ;
  }

I think the right fix *might be* changing <threading>single above to
<threading>multi, *or* adding

       <threading>multi:$(st-requirements)

or making $(st-requirements) unconditional. Unfortunately, I'm not sure
which one is right, and the comment above does not help me.

Can the library authors look into this and adjust the Jamfile as needed?

Thanks,
Volodya