Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
7423a5b0
Commit
7423a5b0
authored
Oct 24, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/libvlc.c, src/misc/threads.c: couple of fixes for thread priorities.
parent
cd0c5ece
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
src/libvlc.c
src/libvlc.c
+1
-1
src/misc/threads.c
src/misc/threads.c
+2
-0
No files found.
src/libvlc.c
View file @
7423a5b0
...
...
@@ -211,7 +211,6 @@ int VLC_Create( void )
return
VLC_EGENERIC
;
}
p_vlc
->
thread_id
=
0
;
vlc_thread_set_priority
(
p_vlc
,
VLC_THREAD_PRIORITY_LOW
);
p_vlc
->
psz_object_name
=
"root"
;
...
...
@@ -219,6 +218,7 @@ int VLC_Create( void )
vlc_mutex_init
(
p_vlc
,
&
p_vlc
->
config_lock
);
#ifdef SYS_DARWIN
vlc_mutex_init
(
p_vlc
,
&
p_vlc
->
quicktime_lock
);
vlc_thread_set_priority
(
p_vlc
,
VLC_THREAD_PRIORITY_LOW
);
#endif
/* Store our newly allocated structure in the global list */
...
...
src/misc/threads.c
View file @
7423a5b0
...
...
@@ -587,10 +587,12 @@ int __vlc_thread_create( vlc_object_t *p_this, char * psz_file, int i_line,
i_priority
=
0
;
}
}
#ifndef SYS_DARWIN
else
{
i_priority
=
0
;
}
#endif
#elif defined( HAVE_CTHREADS_H )
p_this
->
thread_id
=
cthread_fork
(
(
cthread_fn_t
)
func
,
(
any_t
)
p_data
);
...
...
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