%threads.entities; ]>
Release Notes
Boost 1.32.0
Documentation converted to BoostBook The documentation was converted to BoostBook format, and a number of errors and inconsistencies were fixed in the process. Since this was a fairly large task, there are likely to be more errors and inconsistencies remaining. If you find any, please report them!
Barrier functionality added A new class, boost::barrier, was added.
Read/write mutex functionality added New classes, boost::read_write_mutex, boost::try_read_write_mutex, and boost::timed_read_write_mutex were added. Since the read/write mutex and related classes are new, both interface and implementation are liable to change in future releases of &Boost.Threads;. The lock concepts and lock promotion in particular are still under discussion and very likely to change.
Thread-specific pointer functionality changed The boost::thread_specific_ptr constructor now takes an optional pointer to a cleanup function that is called to release the thread-specific data that is being pointed to by boost::thread_specific_ptr objects. Fixed: the number of available thread-specific storage "slots" is too small on some platforms. Fixed: thread_specific_ptr::reset() doesn't check error returned by tss::set() (the tss::set() function now throws if it fails instead of returning an error code). Fixed: calling boost::thread_specific_ptr::reset() or boost::thread_specific_ptr::release() causes double-delete: once when boost::thread_specific_ptr::reset() or boost::thread_specific_ptr::release() is called and once when boost::thread_specific_ptr::~thread_specific_ptr() is called.
Mutex implementation changed for Win32 On Win32, boost::mutex, boost::try_mutex, boost::recursive_mutex, and boost::recursive_try_mutex now use a Win32 critical section whenever possible; otherwise they use a Win32 mutex. As before, boost::timed_mutex and boost::recursive_timed_mutex use a Win32 mutex.
Windows CE support improved Minor changes were made to make Boost.Threads work on Windows CE.