Boost logo

Boost :

Subject: Re: [boost] [threads] making parts of Boost.Threads header-only
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2009-04-07 14:30:04

Emil Dotchevski wrote:

> I am against such a move. Boost Threads requires linking for other
> features which makes it one of the few libraries in Boost that can be
> properly designed to avoid unnecessary physical coupling. Unless
> something is proven to cause performance problems it should not be
> inlined, regardless of how simple it is.

I don't see your point. AFAIK, mutexes do not require any features that
have to reside in a separately compiled library. And forcing them to
depend on it discourages from using Boost.Thread in header-only
libraries (those in Boost and outside of it) and justifies things like

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