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