扩展阅读
当前位置: 编程语言>java/jsp
java命名空间java.util.concurrent.locks类abstractqueuedsynchronizer的类成员方法: acquiresharedinterruptibly定义及介绍
发布时间:2014-2-17
本文导语:
acquiresharedinterruptibly
public final void acquiresharedinterruptibly(int arg)
throws interruptedexception
以共享模式获取对象,如果被中断则中止。通过先检查中断状态,然后至少调用一次 tryacquireshared(int) 来实现此方...