TimeUnit.TimedJoin(Thread, Int64) TimeUnit.TimedJoin(Thread, Int64) Method

Definition

Performs a timed Join(Int64, Int32) using this time unit.

[Android.Runtime.Register("timedJoin", "(Ljava/lang/Thread;J)V", "")]
public void TimedJoin (Java.Lang.Thread thread, long timeout);
member this.TimedJoin : Java.Lang.Thread * int64 -> unit

Parameters

thread
Thread Thread

the thread to wait for

timeout
Int64 Int64

the maximum time to wait. If less than or equal to zero, do not wait at all.

Exceptions

if interrupted while waiting

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.

Applies to