vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Wed Dec  3 
14:47:42 2014 +0100| [daaa3c659102b9bdff731e632fa42eefde268fd0] | committer: 
Jean-Baptiste Kempf

Winstore: allow SetThreadPriority call

This mandates 8.1 though

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=daaa3c659102b9bdff731e632fa42eefde268fd0
---

 src/win32/thread.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/win32/thread.c b/src/win32/thread.c
index 9bc787d..7698675 100644
--- a/src/win32/thread.c
+++ b/src/win32/thread.c
@@ -511,10 +511,8 @@ static int vlc_clone_attr (vlc_thread_t *p_handle, bool 
detached,
     if (p_handle != NULL)
         *p_handle = th;
 
-#if !VLC_WINSTORE_APP
     if (priority)
         SetThreadPriority (th->id, priority);
-#endif
 
     return 0;
 }
@@ -549,10 +547,8 @@ int vlc_clone_detach (vlc_thread_t *p_handle, void 
*(*entry) (void *),
 
 int vlc_set_priority (vlc_thread_t th, int priority)
 {
-#if !VLC_WINSTORE_APP
     if (!SetThreadPriority (th->id, priority))
         return VLC_EGENERIC;
-#endif
     return VLC_SUCCESS;
 }
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to