다음을 통해 공유


Thread.Start Method

Definition

Causes this thread to begin execution; the Java Virtual Machine calls the run method of this thread.

[Android.Runtime.Register("start", "()V", "GetStartHandler")]
public virtual void Start ();
[<Android.Runtime.Register("start", "()V", "GetStartHandler")>]
abstract member Start : unit -> unit
override this.Start : unit -> unit
Attributes

Exceptions

  • if this thread has already started.

Remarks

Causes this thread to begin execution; the Java Virtual Machine calls the run method of this thread.

The result is that two threads are running concurrently: the current thread (which returns from the call to the start method) and the other thread (which executes its run method).

It is never legal to start a thread more than once. In particular, a thread may not be restarted once it has completed execution.

Java documentation for java.lang.Thread.start().

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