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
6a1424b8
Commit
6a1424b8
authored
Jun 04, 2009
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test suite start to prove its usefulness. (oops).
It should be improved.
parent
2a0c3f87
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/control/event_async.c
src/control/event_async.c
+6
-6
No files found.
src/control/event_async.c
View file @
6a1424b8
...
@@ -158,6 +158,12 @@ libvlc_event_async_fini(libvlc_event_manager_t * p_em)
...
@@ -158,6 +158,12 @@ libvlc_event_async_fini(libvlc_event_manager_t * p_em)
{
{
if
(
!
is_queue_initialized
(
p_em
))
return
;
if
(
!
is_queue_initialized
(
p_em
))
return
;
if
(
current_thread_is_asynch_thread
(
p_em
))
{
fprintf
(
stderr
,
"*** Error: releasing the last reference of the observed object from its callback thread is not (yet!) supported
\n
"
);
abort
();
}
vlc_thread_t
thread
=
queue
(
p_em
)
->
thread
;
vlc_thread_t
thread
=
queue
(
p_em
)
->
thread
;
if
(
thread
)
if
(
thread
)
{
{
...
@@ -215,12 +221,6 @@ libvlc_event_async_ensure_listener_removal(libvlc_event_manager_t * p_em, libvlc
...
@@ -215,12 +221,6 @@ libvlc_event_async_ensure_listener_removal(libvlc_event_manager_t * p_em, libvlc
{
{
if
(
!
is_queue_initialized
(
p_em
))
return
;
if
(
!
is_queue_initialized
(
p_em
))
return
;
if
(
current_thread_is_asynch_thread
(
p_em
))
{
fprintf
(
stderr
,
"*** Error: releasing the last reference of the observed object from its callback thread is not (yet!) supported
\n
"
);
abort
();
}
queue_lock
(
p_em
);
queue_lock
(
p_em
);
pop_listener
(
p_em
,
listener
);
pop_listener
(
p_em
,
listener
);
...
...
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