ThreadGroup.ActiveCount Method

Definition

Returns an estimate of the number of active threads in this thread group and its subgroups.

[Android.Runtime.Register("activeCount", "()I", "GetActiveCountHandler")]
public virtual int ActiveCount ();
[<Android.Runtime.Register("activeCount", "()I", "GetActiveCountHandler")>]
abstract member ActiveCount : unit -> int
override this.ActiveCount : unit -> int

Returns

Int32

an estimate of the number of active threads in this thread group and in any other thread group that has this thread group as an ancestor

Attributes

Remarks

Java documentation for java.lang.ThreadGroup.activeCount().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to