Ejemplo n.º 1
0
 private static void WorkloadA(Fixture fixture, Org.Neo4j.Kernel.impl.locking.Locks_Client a, ResourceType resourceType, int iterations)
 {
     for (int i = 0; i < iterations; i++)
     {
         fixture.AcquireAX(a, resourceType);
         fixture.AcquireAY(a, resourceType);
         fixture.ReleaseAY(a, resourceType);
         fixture.ReleaseAX(a, resourceType);
     }
 }