--- /dev/null
+#include <windows.h>
+#include "thread.h"
+#include "thread_private.h"
+
+using namespace std;
+
+namespace Msp {
+
+void Thread::platform_join()
+{
+ WaitForSingleObject(priv_->handle, INFINITE);
+}
+
+void Thread::platform_kill()
+{
+ TerminateThread(priv_->handle, 0);
+}
+
+void Thread::platform_launch()
+{
+ DWORD dummy; // Win9x needs the lpTthreadId parameter
+ priv_->handle = CreateThread(0, 0, &Private::main_wrapper, this, 0, &dummy);
+}
+
+} // namespace Msp