534 |
|
public final int decrementPendingCountUnlessZero() { |
535 |
|
int c; |
536 |
|
do {} while ((c = pending) != 0 && |
537 |
< |
!PENDING.weakCompareAndSetVolatile(this, c, c - 1)); |
537 |
> |
!PENDING.weakCompareAndSet(this, c, c - 1)); |
538 |
|
return c; |
539 |
|
} |
540 |
|
|
567 |
|
return; |
568 |
|
} |
569 |
|
} |
570 |
< |
else if (PENDING.weakCompareAndSetVolatile(a, c, c - 1)) |
570 |
> |
else if (PENDING.weakCompareAndSet(a, c, c - 1)) |
571 |
|
return; |
572 |
|
} |
573 |
|
} |
590 |
|
return; |
591 |
|
} |
592 |
|
} |
593 |
< |
else if (PENDING.weakCompareAndSetVolatile(a, c, c - 1)) |
593 |
> |
else if (PENDING.weakCompareAndSet(a, c, c - 1)) |
594 |
|
return; |
595 |
|
} |
596 |
|
} |
635 |
|
for (int c;;) { |
636 |
|
if ((c = pending) == 0) |
637 |
|
return this; |
638 |
< |
else if (PENDING.weakCompareAndSetVolatile(this, c, c - 1)) |
638 |
> |
else if (PENDING.weakCompareAndSet(this, c, c - 1)) |
639 |
|
return null; |
640 |
|
} |
641 |
|
} |