
----- Original Message ----- From: "Andrey Semashev" <andrey.semashev@gmail.com> To: <boost@lists.boost.org> 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. Vicente