Boost logo

Boost :

From: Greg Colvin (gcolvin_at_[hidden])
Date: 2000-02-23 21:07:59

There is no such animal yet, although the idea keeps coming up.
One minimal interface is just:

   template<class Lock> class mumbler {
      void mumble() {
         Lock lock;

----- Original Message -----
From: Joe Gottman
To: boost_at_[hidden]
Sent: Wednesday, February 23, 2000 6:49 PM
Subject: [boost] Common Lock interface

    I want to write some template classes that include a lock class as one of their template parameter, so they can be easily
adapted to different locking schemes. Does Boost have any sort of common interface I can assume for these locks, the way that the
STL assumes all iterators have certain operations like ++it and *it defined?

Joe Gottman

Boost list run by bdawes at, gregod at, cpdaniel at, john at