Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the develop branch, built from commit 31c6e1f53a.
PrevUpHomeNext

Mutexes

Header <boost/sync/mutexes/mutex.hpp>
Header <boost/sync/mutexes/shared_spin_mutex.hpp>
Header <boost/sync/mutexes/spin_mutex.hpp>
Header <boost/sync/mutexes/timed_mutex.hpp>

This header defines a basic mutex primitive.

namespace boost {
  namespace sync {
    class mutex;
  }
}
namespace boost {
  namespace sync {
    class shared_spin_mutex;
  }
}

This header defines a spin mutex primitive.

namespace boost {
  namespace sync {
    class spin_mutex;
  }
}

This header defines a mutex primitive with support for timed operations.

namespace boost {
  namespace sync {
    class timed_mutex;
  }
}

PrevUpHomeNext