AbstractQueuedSynchronizer.SharedQueuedThreads 属性

定义

返回一个集合,该集合包含可能正在等待在共享模式下获取的线程。

public System.Collections.Generic.ICollection<Java.Lang.Thread>? SharedQueuedThreads { [Android.Runtime.Register("getSharedQueuedThreads", "()Ljava/util/Collection;", "")] get; }
[<get: Android.Runtime.Register("getSharedQueuedThreads", "()Ljava/util/Collection;", "")>]
member this.SharedQueuedThreads : System.Collections.Generic.ICollection<Java.Lang.Thread>

属性值

线程集合

属性

注解

返回一个集合,该集合包含可能正在等待在共享模式下获取的线程。 这与它只返回由于共享获取而等待的线程具有相同的属性 #getQueuedThreads

Java文档java.util.concurrent.locks.AbstractQueuedSynchronizer.getSharedQueuedThreads()

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于