atomicTransaction.begin();
if (count != 0)
{
ponger.hit(count - 1, pinger, ponger, OTS.current().get_control());
atomicTransaction.commit(true);
}
else if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
{
_value++;
atomicTransaction.commit(true);