Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
daaa3c65
Commit
daaa3c65
authored
Dec 03, 2014
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Winstore: allow SetThreadPriority call
This mandates 8.1 though
parent
1df6e651
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
src/win32/thread.c
src/win32/thread.c
+0
-4
No files found.
src/win32/thread.c
View file @
daaa3c65
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment