|
ManagedThreadJoin(Int32) 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.ThreadingAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
Syntaxpublic bool Join(
int millisecondsTimeout
)
Public Function Join (
millisecondsTimeout As Integer
) As Boolean
public:
bool Join(
int millisecondsTimeout
)
member Join :
millisecondsTimeout : int -> bool
function Join(millisecondsTimeout);
View SourceParameters
- millisecondsTimeout Int32
- The number of milliseconds to wait for the thread to terminate.
Return Value
Booleantrue if the thread has terminated; false if the thread has not terminated after the amount of time specified by the millisecondsTimeout 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