I have come across many ad hoc implementations of thread class in C++, but why is there no standard library thread class like the one in Java? The one that I generally use in C++ is http://www.linuxdocs.org/HOWTOs/C++Programming-HOWTO-24.html
Share
std::threadwill be standardized in C++0x, and many compilers already support it.It is perhaps more ambitious than your cited example as construction/destruction signifies initiation/joining of thread execution.
Here’s another article.