Boost logo

Boost :

Subject: Re: [boost] [log] Comments
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2010-03-15 16:31:45

----- Original Message -----
From: "Andrey Semashev" <andrey.semashev_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Monday, March 15, 2010 8:39 PM
Subject: Re: [boost] [log] Comments

>>>> * Building the library with threading=single results in unresolved references to pthread functions.
>>>> I belive that library should not use any sync mechanisms in this case.
>>> Yes, I've been told that. Presumably, the references are from
>>> Boost.ASIO, which is used by the syslog backend. Not sure what would be
>>> the best solution - to drop single-threaded builds or to exclude syslog
>>> in ST builds.
>> Well, if this the case, Boost.ASIO should be fixed not to contain its own
>> thread-related mechanisms -- which only reinforces my position about
>> rw_mutex.
> No, it doesn't reinforce your point. ASIO may well not be suited to be
> used in a ST environment.

If ASIO can not be used on a single thread environement a clear error should be desirable when compiled on this environement.


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