Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
d8cfcc77
Commit
d8cfcc77
authored
Jan 21, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't clutter the production builds with the (useless IMHO) vlc_thread_error
parent
55623f50
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
include/vlc_threads_funcs.h
include/vlc_threads_funcs.h
+4
-3
src/misc/threads.c
src/misc/threads.c
+1
-2
No files found.
include/vlc_threads_funcs.h
View file @
d8cfcc77
...
...
@@ -35,7 +35,7 @@
/*****************************************************************************
* Function definitions
*****************************************************************************/
VLC_EXPORT
(
void
,
__
vlc_threads_error
,
(
vlc_object_t
*
)
);
VLC_EXPORT
(
void
,
vlc_threads_error
,
(
vlc_object_t
*
)
);
VLC_EXPORT
(
int
,
__vlc_mutex_init
,
(
vlc_object_t
*
,
vlc_mutex_t
*
)
);
VLC_EXPORT
(
int
,
__vlc_mutex_init_recursive
,
(
vlc_object_t
*
,
vlc_mutex_t
*
)
);
VLC_EXPORT
(
int
,
__vlc_mutex_destroy
,
(
const
char
*
,
int
,
vlc_mutex_t
*
)
);
...
...
@@ -50,8 +50,9 @@ VLC_EXPORT( void, __vlc_thread_join, ( vlc_object_t *, const char *, int ) );
/*****************************************************************************
* vlc_threads_error: Signalize an error in the threading system
*****************************************************************************/
#define vlc_threads_error( P_THIS ) \
__vlc_threads_error( VLC_OBJECT(P_THIS) )
#ifdef NDEBUG
# define vlc_threads_error( P_THIS ) (void)0
#endif
/*****************************************************************************
* vlc_threads_init: initialize threads system
...
...
src/misc/threads.c
View file @
d8cfcc77
...
...
@@ -83,8 +83,7 @@ vlc_threadvar_t msg_context_global_key;
* This is especially useful to debug those errors, as this is a nice symbol
* on which you can break.
*****************************************************************************/
void
__vlc_threads_error
(
vlc_object_t
*
p_this
)
void
vlc_threads_error
(
vlc_object_t
*
p_this
)
{
msg_Err
(
p_this
,
"Error detected. Put a breakpoint in '%s' to debug."
,
__func__
);
...
...
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