int waitForPendingWriter = WAIT_FOR_PENDING_WRITER; while (msecs > timeoutMillis) { if (this.sync.tryAcquireSharedNanos(waitForPendingWriter, owner, this, TimeUnit.MILLISECONDS.toNanos(timeoutMillis), null, null)) { res = true; res = this.sync.tryAcquireSharedNanos(0, owner, this, TimeUnit.MILLISECONDS.toNanos(msecs), null, null);
int waitForPendingWriter = WAIT_FOR_PENDING_WRITER; while (msecs > timeoutMillis) { if (this.sync.tryAcquireSharedNanos(waitForPendingWriter, owner, this, TimeUnit.MILLISECONDS.toNanos(timeoutMillis), null, null)) { res = true; res = this.sync.tryAcquireSharedNanos(0, owner, this, TimeUnit.MILLISECONDS.toNanos(msecs), null, null);
int waitForPendingWriter = WAIT_FOR_PENDING_WRITER; while (msecs > timeoutMillis) { if (this.sync.tryAcquireSharedNanos(waitForPendingWriter, owner, this, TimeUnit.MILLISECONDS.toNanos(timeoutMillis), null, null)) { res = true; res = this.sync.tryAcquireSharedNanos(0, owner, this, TimeUnit.MILLISECONDS.toNanos(msecs), null, null);
if (this.sync.tryAcquireSharedNanos(0, null, this, TimeUnit.MILLISECONDS.toNanos(timeoutMillis), null, this.stopper)) { result = true; result = this.sync.tryAcquireSharedNanos(0, null, this, TimeUnit.MILLISECONDS.toNanos(msecs), null, this.stopper);
result = sync.tryAcquireSharedNanos(lockModeArg, ownerId, this, loopWaitNanos, context, null);