Join()
Thread::Join() method
Joins managed thread. Performs unlimited waiting if required.
void System::Threading::Thread::Join()
Thread::Join(int) method
Joins managed thread. Performs limited waiting.
bool System::Threading::Thread::Join(int millisecondsTimeout)
Arguments
Parameter | Type | Description |
---|---|---|
millisecondsTimeout | int | Waiting timeout in milliseconds. |
Return Value
True if thread was successfully joined, false if timeout exceeded.
Thread::Join(TimeSpan) method
Joins managed thread. Performs limited waiting.
bool System::Threading::Thread::Join(TimeSpan timeout)
Arguments
Parameter | Type | Description |
---|---|---|
timeout | TimeSpan | A TimeSpan set to the amount of time to wait for the thread to terminate. |
Return Value
True if thread was successfully joined, false if timeout exceeded.
See Also
- Class Thread
- Class TimeSpan
- Namespace System::Threading
- Library Aspose.Slides