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 9514ac8cfc.
PrevUpHomeNext

Condition Variables

Header <boost/sync/condition_variables/condition_variable.hpp>
Header <boost/sync/condition_variables/condition_variable_any.hpp>
Header <boost/sync/condition_variables/cv_status.hpp>
Header <boost/sync/condition_variables/notify_all_at_thread_exit.hpp>

This header defines a basic condition variable primitive.

namespace boost {
  namespace sync {
    class condition_variable;
  }
}

This header defines a basic condition variable primitive.

namespace boost {
  namespace sync {
    class condition_variable_any;
  }
}

This header defines cv_status enumeration.

namespace boost {
  namespace sync {

    // Condition variable wait status. 
    enum cv_status { no_timeout, timeout };
  }
}

This header defines the notify_all_at_thread_exit function.

namespace boost {
  namespace sync {
    void notify_all_at_thread_exit(sync::condition_variable &, 
                                   sync::unique_lock< sync::mutex >);
  }
}

PrevUpHomeNext