Boost logo

Boost :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2003-02-18 23:56:04


> > 1. Does not Boost.Thread already have locking mechanisms
>
> The only thing boost threads offer is #1 on my list, that is "The ability
> to acquire a lock and release it when the object goes out of scope
> effectively implemented the "Monitor" concept". Implementing this idea is
> rather easy and obvious. It is the other things my classes offer that
> make it interesting. The differences should be obvious.

In any case it should be part of Boost.Thread IMO. You may propose your
classes as an extension to existent Boost.Thread functionality.

> > 2. IMO any locking mechanisms should be implemented in terms of
smart_ptr
>
> This makes absolutely no sense to me, could you please explain your self.

Look on my other post on the topic

Gennadiy.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk