Exemple #1
0
 public static void DelRef(int u)
 {
     lock (padlock)
     {
         ReferenceCount.UnRef(u);
         ReferenceCount.Visitor2.Clear();
     }
 }
Exemple #2
0
 public static void AddRef(int u)
 {
     ReferenceCount.Ref(u);
     ReferenceCount.Visitor.Clear();
 }