Added classes for auto unlocking read only and read write mutex on
commit3f99fa98a9bf16cc4c782eb41e9df36572197cef
authorrjongbloed <rjongbloed>
Thu, 5 Aug 2004 12:35:45 +0000 (5 12:35 +0000)
committerrjongbloed <rjongbloed>
Thu, 5 Aug 2004 12:35:45 +0000 (5 12:35 +0000)
tree879421fc2e0c95cc90bb8fd8b74dee8fbfe2ccbb
parented099c9f38fc834d2d2ff4d02e7af4f1390f87f3
Added classes for auto unlocking read only and read write mutex on
  PSafeObject - similar to PWaitAndSIgnal.
Utilised mutable keyword for mutex and improved the constness of functions.
Added DisallowDeleteObjects to safe collections so can have a PSafeObject in
  multiple collections.
Added a tempalte function to do casting of PSafePtr to a PSafePtr of a derived
  class.
Assured that a PSafeObject present on a collection always increments its
  reference count so while in collection it is not deleted.
include/ptlib/msos/ptlib_2003.dtf
include/ptlib/msos/ptlibd_2003.dtf