Boost logo

Boost :

From: Johan Nilsson (johan.nilsson_at_[hidden])
Date: 2004-10-30 13:20:58

"Caleb Epstein" <caleb.epstein_at_[hidden]> wrote in message
> On Sat, 30 Oct 2004 09:12:41 +0900, Darren Cook <darren_at_[hidden]> wrote:
>> >
>> > >- This opinion is probably not shared with others, but I'd prefer the
>> > >library to be independent from the Boost Thread library. The dependency
>> > >feels kind of the wrong way around.
>> > ...
>> > But a dependency on any thread library is likely to throw cold water on
>> > my use.
>> Same here.
> There is no dependency on Boost.Threads unless BOOST_HAS_THREADS is defined.

Which can be the case if you use Boost libraries in general, without using Boost.Thread. Or am I wrong?

> Is there a need for another option e.g. BOOST_LOG_HAS_THREADS that
> could be used to en/disable the dependency in *otherwise*
> multi-threaded code?

I think that there's a need to be able to use Boost.Log in a multi-threaded environment without being forced to use Boost.Thread.

// Johan

Boost list run by bdawes at, gregod at, cpdaniel at, john at