|
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.ThreadingAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
Syntaxpublic bool Join(
TimeSpan timeout
)
Public Function Join (
timeout As TimeSpan
) As Boolean
public:
bool Join(
TimeSpan timeout
)
member Join :
timeout : TimeSpan -> bool
View SourceParameters
- timeout TimeSpan
- A TimeSpan set to the amount of time to wait for the thread to terminate.
Return Value
Booleantrue 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