]> git.sesse.net Git - vlc/blobdiff - src/misc/w32thread.c
vlc_detach: releases a thread handle asynchronously
[vlc] / src / misc / w32thread.c
index bf806f9cd095e60869cd73f984ea218253906b1f..5b337e4f705b813276e2a8baaf436e236af093ed 100644 (file)
@@ -497,6 +497,10 @@ void vlc_join (vlc_thread_t handle, void **result)
 #endif
 }
 
+void vlc_detach (vlc_thread_t handle)
+{
+    CloseHandle (handle);
+}
 
 /*** Thread cancellation ***/