[boost] Re: Repost: Lock Classes

2003-03-01 Thread Alexander Terekhov
Kevin Atkinson wrote: > > This is a repost of my Lock Classes. Hopefully this time I will get some > constructive feedback. These classes have the following features. > > 1) The ability to acquire a lock and release it when the object > goes out of scope effectively implemented the "Moni

Re: [boost] Re: Repost: Lock Classes

2003-03-01 Thread Kevin Atkinson
On Sat, 1 Mar 2003, Thorsten Ottosen wrote: > First I want to say that I'm not experienced with multitherading, but I > would like to see a standard lib > to solve these situations. > > A small question about enforcing correct parameter passing: you have these > typedefs : > > // These locks s

[boost] Re: Repost: Lock Classes

2003-03-01 Thread Thorsten Ottosen
First I want to say that I'm not experienced with multitherading, but I would like to see a standard lib to solve these situations. A small question about enforcing correct parameter passing: you have these typedefs : // These locks should never be passed by value to functions. // Instead use