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 the following typedef to pass by reference:
  typedef const LockOnly   & WillOnlyLock;
  typedef const Lock       & WillLock;
  typedef const UnlockOnly & WillOnlyUnlock;
  typedef const Unlock     & WillUnlock;

Is this the best way to enforce this? Why not just make lock objects
noncopyable?

ragards

Thorsten



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to