|
Threads-Devel : |
From: David Abrahams (dave_at_[hidden])
Date: 2006-03-04 15:08:05
Anthony Williams <anthony_at_[hidden]> writes:
> I have written a class called basic_mutex, and another called
> basic_recursive_mutex, which are now used for the backend of boost::mutex and
> boost::recursive_mutex (and their try_xxx variants) for Win32 on the
> thread_rewrite branch.
Cool.
> I have also written a basic_checked_mutex, which
> performs additional checks, to ensure that only the locking thread can unlock
> the mutex, and to avoid recursive locks, though this is not yet in CVS.
>
> Much of the rest of the email was describing the forces that led me to this
> implementation, most of which are general, and will apply to any
> implementation of boost::mutex.
Rockin'.
-- Dave Abrahams Boost Consulting www.boost-consulting.com