Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Steve Lhomme
vlc
Commits
c12edba9
Commit
c12edba9
authored
Dec 22, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ensure fast fetcher/preparser thread cancelation.
parent
35f17389
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
src/playlist/fetcher.c
src/playlist/fetcher.c
+3
-0
src/playlist/preparser.c
src/playlist/preparser.c
+3
-0
No files found.
src/playlist/fetcher.c
View file @
c12edba9
...
...
@@ -366,6 +366,9 @@ static void *Thread( void *p_data )
{
input_item_t
*
p_item
;
/* Be sure to be cancellable before our queue is empty */
vlc_testcancel
();
/* */
vlc_mutex_lock
(
&
p_fetcher
->
lock
);
mutex_cleanup_push
(
&
p_fetcher
->
lock
);
...
...
src/playlist/preparser.c
View file @
c12edba9
...
...
@@ -187,6 +187,9 @@ static void *Thread( void *data )
{
input_item_t
*
p_current
;
/* Be sure to be cancellable before our queue is empty */
vlc_testcancel
();
/* */
vlc_mutex_lock
(
&
p_preparser
->
lock
);
mutex_cleanup_push
(
&
p_preparser
->
lock
);
...
...
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