Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
4247f7ce
Commit
4247f7ce
authored
Mar 30, 2008
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check cond_wait() return value - Fix a deadlock
Remove useless variable
parent
b5cb6965
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
src/playlist/thread.c
src/playlist/thread.c
+4
-5
No files found.
src/playlist/thread.c
View file @
4247f7ce
...
...
@@ -145,14 +145,11 @@ int playlist_ThreadDestroy( playlist_t * p_playlist )
*/
static
void
RunControlThread
(
playlist_t
*
p_playlist
)
{
int
i_loops
=
0
;
/* Tell above that we're ready */
vlc_thread_ready
(
p_playlist
);
while
(
!
p_playlist
->
b_die
)
{
i_loops
++
;
playlist_MainLoop
(
p_playlist
);
if
(
p_playlist
->
b_cant_sleep
)
{
...
...
@@ -162,8 +159,10 @@ static void RunControlThread ( playlist_t *p_playlist )
else
{
PL_LOCK
;
vlc_
cond_wait
(
&
p_playlist
->
object_wait
,
&
p_playlist
->
object_lock
);
vlc_
bool_t
b_die
=
vlc_object_wait
(
p_playlist
);
PL_UNLOCK
;
if
(
b_die
)
break
;
}
}
playlist_LastLoop
(
p_playlist
);
...
...
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