Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
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