|
Boost : |
From: Ralf W. Grosse-Kunstleve (rwgk_at_[hidden])
Date: 2002-05-29 16:47:57
--- Peter Dimov <pdimov_at_[hidden]> wrote:
> From: "Ralf W. Grosse-Kunstleve" <rwgk_at_[hidden]>
> > > | Lars Gullik Bjønnes' recent contribution to shared_ptr has a
> dependency on
> > > | sched_yield (as do most optimized lightweight_mutex implementations.)
> >
> > Is it possible to disable the thread facilities with a #define?
>
> Yes, #define BOOST_DISABLE_THREADS.
Great, this works for us. Thanks!
Just a remark: to me it seems odd that thread support is on by default. To me
it would make more sense if I had to request thread support if I want it, e.g.
via #define BOOST_ENABLE_THREADS.
Ralf
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk