SIGN IN SIGN UP
Snailclimb / JavaGuide UNCLAIMED

Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

0 0 4 Java

Update aqs.md

Returns:
a negative value on failure; zero if acquisition in shared mode succeeded but no subsequent shared-mode acquire can succeed; and a positive value if acquisition in shared mode succeeded and subsequent shared-mode acquires might also succeed, in which case a subsequent waiting thread must check availability. (Support for three different return values enables this method to be used in contexts where acquires only sometimes act exclusively.) Upon success, this object has been acquired.
M
Mr.Mi committed
8e3b9eb7056a989d3d6e4c464514df46bb430b1b
Parent: b1c2dbe
Committed by GitHub <noreply@github.com> on 6/27/2022, 10:06:56 AM