STLdb

PrevUpHomeNext

Class template wait_indefinitely_policy

stldb::wait_indefinitely_policy

Synopsis

// In header: </Users/bobw/workspace/stldb_lib/stldb/sync/wait_policy.h>

template<typename container_lock_t> 
class wait_indefinitely_policy {
public:
  // construct/copy/destruct
  wait_indefinitely_policy(container_lock_t &);

  // public member functions
  void unlock_container() ;
  void relock_container() ;
  template<typename row_mutex_t, typename condition_t> 
    void wait(boost::interprocess::scoped_lock< row_mutex_t > &, 
              condition_t &) ;
};

Description

wait_indefinitely_policy public construct/copy/destruct

  1. wait_indefinitely_policy(container_lock_t & lock);

wait_indefinitely_policy public member functions

  1. void unlock_container() ;
  2. void relock_container() ;
  3. template<typename row_mutex_t, typename condition_t> 
      void wait(boost::interprocess::scoped_lock< row_mutex_t > & mutex, 
                condition_t & condition) ;

PrevUpHomeNext