Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
46d6d2d1
Commit
46d6d2d1
authored
Jan 25, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move mutex setkind hack to src/
parent
59bc1589
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
include/vlc_threads.h
include/vlc_threads.h
+0
-3
src/misc/threads.c
src/misc/threads.c
+5
-0
No files found.
include/vlc_threads.h
View file @
46d6d2d1
...
@@ -56,9 +56,6 @@
...
@@ -56,9 +56,6 @@
# include <time.h>
# include <time.h>
# endif
# endif
/* This is not prototyped under Linux, though it exists. */
int
pthread_mutexattr_setkind_np
(
pthread_mutexattr_t
*
attr
,
int
kind
);
#else
#else
# error no threads available on your system !
# error no threads available on your system !
...
...
src/misc/threads.c
View file @
46d6d2d1
...
@@ -225,6 +225,11 @@ int __vlc_threads_end( vlc_object_t *p_this )
...
@@ -225,6 +225,11 @@ int __vlc_threads_end( vlc_object_t *p_this )
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
#ifdef __linux__
/* This is not prototyped under Linux, though it exists. */
int
pthread_mutexattr_setkind_np
(
pthread_mutexattr_t
*
attr
,
int
kind
);
#endif
/*****************************************************************************
/*****************************************************************************
* vlc_mutex_init: initialize a mutex
* vlc_mutex_init: initialize a mutex
*****************************************************************************/
*****************************************************************************/
...
...
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