Thread.Join Thread.Join Method

Definition

Overloads

Join() Join()

Blocks the current Thread (Thread.currentThread()) until the receiver finishes its execution and dies.

Join(Int64) Join(Int64)

Blocks the current Thread (Thread.currentThread()) until the receiver finishes its execution and dies or the specified timeout expires, whatever happens first.

Join(Int64, Int32) Join(Int64, Int32)

Blocks the current Thread (Thread.currentThread()) until the receiver finishes its execution and dies or the specified timeout expires, whatever happens first.

Join() Join()

Blocks the current Thread (Thread.currentThread()) until the receiver finishes its execution and dies.

[Android.Runtime.Register("join", "()V", "")]
public void Join ();
member this.Join : unit -> unit

Exceptions

if the current thread has been interrupted. The interrupted status of the current thread will be cleared before the exception is thrown.

Remarks

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.

See also

Join(Int64) Join(Int64)

Blocks the current Thread (Thread.currentThread()) until the receiver finishes its execution and dies or the specified timeout expires, whatever happens first.

[Android.Runtime.Register("join", "(J)V", "")]
public void Join (long millis);
member this.Join : int64 -> unit

Parameters

millis
Int64 Int64

The maximum time to wait (in milliseconds).

Exceptions

if the current thread has been interrupted. The interrupted status of the current thread will be cleared before the exception is thrown.

Remarks

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.

See also

Join(Int64, Int32) Join(Int64, Int32)

Blocks the current Thread (Thread.currentThread()) until the receiver finishes its execution and dies or the specified timeout expires, whatever happens first.

[Android.Runtime.Register("join", "(JI)V", "")]
public void Join (long millis, int nanos);
member this.Join : int64 * int -> unit

Parameters

millis
Int64 Int64

The maximum time to wait (in milliseconds).

nanos
Int32 Int32

Extra nanosecond precision

Exceptions

if the current thread has been interrupted. The interrupted status of the current thread will be cleared before the exception is thrown.

Remarks

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.

See also

Applies to