Boost logo

Boost Users :

From: Anthony Williams (anthony.ajw_at_[hidden])
Date: 2008-07-11 06:33:37


Adam Nielsen <adam.nielsen_at_[hidden]> writes:

>>> This may seem like a silly question, but is someone able to point me
>>> to where in the Boost docs it tells me which files I need to #include
>>> to use Boost Threads?
>>
>> It doesn't. Oops. I'll raise a trac issue for it.
>
> Ah, glad it's not me being dumb for once :-)
>
>> You can include <boost/thread.hpp> to get everything.
>
> Does this include shared_mutex? I was still getting errors about
> boost::shared_mutex when I included <boost/thread.hpp>, which prompted
> my hunt through the docs in the first place!

It does in the trunk version, but not in 1.35.0

shared_mutex is in <boost/thread/shared_mutex.hpp>

Anthony

-- 
Anthony Williams            | Just Software Solutions Ltd
Custom Software Development | http://www.justsoftwaresolutions.co.uk
Registered in England, Company Number 5478976.
Registered Office: 15 Carrallack Mews, St Just, Cornwall, TR19 7UL

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