Click or drag to resize

ManagedThreadJoin(TimeSpan) Method

Blocks the calling thread until a thread terminates or the specified time elapses, while continuing to perform standard COM and SendMessage pumping.

Namespace: GSF.Threading
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public bool Join(
	TimeSpan timeout
)
View Source

Parameters

timeout  TimeSpan
A TimeSpan set to the amount of time to wait for the thread to terminate.

Return Value

Boolean
true if the thread terminated; false if the thread has not terminated after the amount of time specified by the timeout parameter has elapsed.
Remarks
This is only available for standard threads - queued threads don't have an associated thread until they are executing.
See Also