|
Boost : |
From: Anthony Williams (anthony_w.geo_at_[hidden])
Date: 2008-01-07 07:05:31
Andreas Huber <ahd6974-spamboostorgtrap <at> yahoo.com> writes:
> In a Visual Studio 2008 project, when I include the trunk version of
> boost/thread/thread.hpp, it seems I must also link against the date_time
> library. When I build the same program with bjam, while not linking against
> date_time, the resulting program runs just fine.
>
> So my question is: Why does including thread.hpp require linking against the
> date_time library? It seems that it is not needed at all?
The new trunk/release version of boost.thread has replaced uses of the private
xtime type with uses of the date_time library in the functions that take
timeouts: sleep, timed_lock, timed_wait, etc.
Anthony
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk