Commit daaa3c65 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Winstore: allow SetThreadPriority call

This mandates 8.1 though
parent 1df6e651
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment