STLdb

PrevUpHomeNext

Class bounded_interprocess_mutex

stldb::bounded_interprocess_mutex

Synopsis

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


class bounded_interprocess_mutex {
public:
  // construct/copy/destruct
  bounded_interprocess_mutex();

  // public member functions
  void lock() ;
};

Description

This is a boost::interprocess::interprocess_mutex which has it's lock() method overloaded to always use a timed wait when it has to block, so that the mutex never blocks indefinitely if some process dies while holding it.

bounded_interprocess_mutex public construct/copy/destruct

  1. bounded_interprocess_mutex();

bounded_interprocess_mutex public member functions

  1. void lock() ;

PrevUpHomeNext