Frank Mori Hess | 16 May 23:48

Re: [thread] lockable traits and concepts classes adding proposal


On Friday 16 May 2008 16:45 pm, vicente.botet wrote:
> While writtig a generic library I have needed some lockable traits
> and concepts to be chacked with BCCL.
>
> If you think that these classes are of general use it will be a pleasure
> for me, if Anthony accepts, to included them on the Boost.Thread library.

I haven't gone over your proposal in detail, but I for one agree some kind of 
traits for mutex classes would be useful.  I had to do something similar, 
defining a mutex_properties template class and giving specializations for all 
the boost.thread mutex types:

http://www.comedi.org/projects/libpoet/boostbook/doc/boostbook/html/poet/mutex_properties.html

--

-- 
Frank

Gmane