次の方法で共有


ThreadGroup.Interrupt Method

Definition

Interrupts all threads in this thread group.

[Android.Runtime.Register("interrupt", "()V", "")]
public void Interrupt ();
[<Android.Runtime.Register("interrupt", "()V", "")>]
member this.Interrupt : unit -> unit
Attributes

Remarks

Interrupts all threads in this thread group.

First, the checkAccess method of this thread group is called with no arguments; this may result in a security exception.

This method then calls the interrupt method on all the threads in this thread group and in all of its subgroups.

Added in 1.2.

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

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

See also