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
08b2e648
Commit
08b2e648
authored
Sep 28, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vlc_assert_locked is private
parent
057a9633
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
include/vlc_threads.h
include/vlc_threads.h
+0
-7
src/audio_output/common.c
src/audio_output/common.c
+1
-0
src/libvlc.h
src/libvlc.h
+7
-0
No files found.
include/vlc_threads.h
View file @
08b2e648
...
...
@@ -172,13 +172,6 @@ enum {
#define vlc_thread_ready vlc_object_signal
#if defined(LIBVLC_USE_PTHREAD)
# define vlc_assert_locked( m ) \
assert (pthread_mutex_lock (m) == EDEADLK)
#else
# define vlc_assert_locked( m ) (void)m
#endif
/**
* Save the cancellation state and disable cancellation for the calling thread.
* This function must be called before entering a piece of code that is not
...
...
src/audio_output/common.c
View file @
08b2e648
...
...
@@ -33,6 +33,7 @@
#include <vlc_common.h>
#include <vlc_aout.h>
#include "aout_internal.h"
#include "libvlc.h"
/*
* Instances management (internal and external)
...
...
src/libvlc.h
View file @
08b2e648
...
...
@@ -54,6 +54,13 @@ void vlc_thread_cancel (vlc_object_t *);
void
vlc_trace
(
const
char
*
fn
,
const
char
*
file
,
unsigned
line
);
#define vlc_backtrace() vlc_trace(__func__, __FILE__, __LINE__)
#if defined (LIBVLC_USE_PTHREAD) && !defined (NDEBUG)
# define vlc_assert_locked( m ) \
assert (pthread_mutex_lock (m) == EDEADLK)
#else
# define vlc_assert_locked( m ) (void)m
#endif
/*
* CPU capabilities
*/
...
...
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