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
fba2ed8a
Commit
fba2ed8a
authored
Apr 20, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
messages: disable cancellation
vlc_rwlock_rdlock() may be a cancellation point.
parent
6006bd36
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/misc/messages.c
src/misc/messages.c
+3
-0
No files found.
src/misc/messages.c
View file @
fba2ed8a
...
@@ -57,11 +57,14 @@ static void vlc_vaLogCallback(libvlc_int_t *vlc, int type,
...
@@ -57,11 +57,14 @@ static void vlc_vaLogCallback(libvlc_int_t *vlc, int type,
va_list
ap
)
va_list
ap
)
{
{
vlc_logger_t
*
logger
=
libvlc_priv
(
vlc
)
->
logger
;
vlc_logger_t
*
logger
=
libvlc_priv
(
vlc
)
->
logger
;
int
canc
;
assert
(
logger
!=
NULL
);
assert
(
logger
!=
NULL
);
canc
=
vlc_savecancel
();
vlc_rwlock_rdlock
(
&
logger
->
lock
);
vlc_rwlock_rdlock
(
&
logger
->
lock
);
logger
->
log
(
logger
->
sys
,
type
,
item
,
format
,
ap
);
logger
->
log
(
logger
->
sys
,
type
,
item
,
format
,
ap
);
vlc_rwlock_unlock
(
&
logger
->
lock
);
vlc_rwlock_unlock
(
&
logger
->
lock
);
vlc_restorecancel
(
canc
);
}
}
static
void
vlc_LogCallback
(
libvlc_int_t
*
vlc
,
int
type
,
const
vlc_log_t
*
item
,
static
void
vlc_LogCallback
(
libvlc_int_t
*
vlc
,
int
type
,
const
vlc_log_t
*
item
,
...
...
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