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
ef81e665
Commit
ef81e665
authored
Mar 30, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: Use PL_LOCK and PL_UNLOCK.
parent
a11817c9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/playlist/thread.c
src/playlist/thread.c
+4
-4
No files found.
src/playlist/thread.c
View file @
ef81e665
...
...
@@ -151,16 +151,16 @@ static void RunControlThread ( playlist_t *p_playlist )
vlc_object_lock
(
p_playlist
);
while
(
vlc_object_alive
(
p_playlist
)
)
{
vlc_object_unlock
(
p_playlist
)
;
PL_UNLOCK
;
playlist_MainLoop
(
p_playlist
);
vlc_object_lock
(
p_playlist
)
;
PL_LOCK
;
if
(
p_playlist
->
b_cant_sleep
)
{
/* 100 ms is an acceptable delay for playlist operations */
vlc_object_unlock
(
p_playlist
)
;
PL_UNLOCK
;
msleep
(
INTF_IDLE_SLEEP
*
2
);
vlc_object_lock
(
p_playlist
)
;
PL_LOCK
;
}
else
{
...
...
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