Boost logo

Boost Users :

Subject: Re: [Boost-users] [Thread][win32, msvc] Mutexes
From: Alexander Gutenev (gutenev_at_[hidden])
Date: 2008-09-28 13:42:24


"Anthony Williams" <anthony.ajw_at_[hidden]> writes:

> The windows.h include comes from boost.datetime. Hopefully it'll go
> soon.
>
> The auto-link against libboost_thread is surprising to me, but I
> rarely use just boost mutexes in an app. I'll investigate.
>
> Hopefully Jeff will figure out a way to selectively autolink
> libboost_datetime too, as it's not really required for the thread
> stuff.
>

Why not just implement boost::mutex not as a specific case of timed_mutex,
but as separate implementation? Then, for a simple non-timed mutex date-time
is not required.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net