]> git.tdb.fi Git - libs/core.git/blobdiff - source/core/windows/thread.cpp
Add an interface for naming threads
[libs/core.git] / source / core / windows / thread.cpp
index 410141cfb9e82626f957e6aecf6ee2fbbfc936ad..ab02c4d04094394e384b91defd717b70ac5918df 100644 (file)
@@ -2,8 +2,6 @@
 #include "thread.h"
 #include "thread_private.h"
 
-using namespace std;
-
 namespace Msp {
 
 void Thread::platform_join()
@@ -22,4 +20,9 @@ void Thread::platform_launch()
        priv_->handle = CreateThread(0, 0, &Private::main_wrapper, this, 0, &dummy);
 }
 
+void Thread::platform_setname()
+{
+       // TODO: https://msdn.microsoft.com/en-us/library/xcb2z8hs.aspx
+}
+
 } // namespace Msp