
Adam Nielsen <adam.nielsen@uq.edu.au> 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