]> git.cworth.org Git - apitrace/blobdiff - common/os_thread.hpp
d3dretrace: Dump D3D9 depth stencil.
[apitrace] / common / os_thread.hpp
index 51ac54f3864d6ddf69b94d4413bd124e184c8707..f3ae210053da2b08ef711f516a92a3be433860b1 100644 (file)
@@ -374,6 +374,10 @@ namespace os {
         {
         }
 
+        inline
+        ~thread() {
+        }
+
         template< class Function, class Arg >
         explicit thread( Function& f, Arg arg ) {
 #ifdef _WIN32
@@ -384,6 +388,12 @@ namespace os {
 #endif
         }
 
+        inline thread &
+        operator =(const thread &other) {
+            _native_handle = other._native_handle;
+            return *this;
+        }
+
         inline bool
         joinable(void) const {
             return _native_handle != 0;