thread
Copyright (C) 2005 IENT-RWTH Aachen
Concurrent execution
Groups
| Constructors | |
thread |
Creates a new thread that executes concurrently with the calling thread. |
| Assignment | |
operator= |
Assignment Operator |
| Multithreading Functions | |
join |
Waits until the executed function returns. |
| Destructors | |
~thread |
Waits until the executed function returns, and then closes the thread. |
Example
struct func0
{
void operator() const { ... }
};
gmt::thread<func0> th0(func0());
See Also

