What is the easiest way to create multithreaded applications with C/C++?
The C++0x specification includes threading facilities (one of my favorite new features). Soon it won't matter what OS you're compiling for! Just look how easy it is to create a new thread and join back to the creator thread:
#include
#include
class SayHello
{
public:
void operator()() const
{
std::cout<<"hello"<
Visual Studio 2010 is implementing parts of C++0x but we're still waiting on the threading facilities.