Sdílet prostřednictvím


ThreadGroup.Resume Method

Definition

Caution

deprecated

Resumes all threads in this thread group.

[Android.Runtime.Register("resume", "()V", "")]
[System.Obsolete("deprecated")]
public void Resume ();
[<Android.Runtime.Register("resume", "()V", "")>]
[<System.Obsolete("deprecated")>]
member this.Resume : unit -> unit
Attributes

Remarks

Resumes 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 resume method on all the threads in this thread group and in all of its sub groups.

Added in 1.0.

This member is deprecated. This method is used solely in conjunction with Thread.suspend and ThreadGroup.suspend, both of which have been deprecated, as they are inherently deadlock-prone. See Thread#suspend for details.

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

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