Boost logo

Boost :

From: Jody Hagins (jody-boost-011304_at_[hidden])
Date: 2005-06-09 15:03:50

On Thu, 9 Jun 2005 21:41:31 +0200
"Pavel Vozenilek" <pavel_vozenilek_at_[hidden]> wrote:

> "Jody Hagins" wrote:
> > Looking through the archives, a number of requests have been made
> > for a null_mutex, but none exist.
> >
> An implementation exists in Shmem library (in Sandbox files).

OK, thanks. A few comments...

Your class is missing:
        void do_lock(cv_state &);
        void do_unlock(cv_state &);

which is probably not a big deal if it only used for shmem, and only
used with shmem::shared_condition.

However, you would not be able to use this class as a drop-in
replacement for any of the other thread::*mutex classes, because it
would require reasonable interoperability with boost::condition.

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