Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
e17e8321
Commit
e17e8321
authored
Mar 18, 2010
by
Sébastien Escudier
Committed by
Rémi Denis-Courmont
Mar 26, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VLM : move a mutex lock/unlock
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
1fd91b99
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/input/vlm.c
src/input/vlm.c
+2
-2
No files found.
src/input/vlm.c
View file @
e17e8321
...
...
@@ -365,12 +365,12 @@ static void* Manage( void* p_object )
int
canc
=
vlc_savecancel
();
i_lastcheck
=
vlm_Date
();
vlc_mutex_lock
(
&
vlm
->
lock
);
while
(
!
vlm
->
b_die
)
{
char
**
ppsz_scheduled_commands
=
NULL
;
int
i_scheduled_commands
=
0
;
vlc_mutex_lock
(
&
vlm
->
lock
);
if
(
i_nextschedule
)
vlc_cond_timedwait
(
&
vlm
->
wait
,
&
vlm
->
lock
,
i_nextschedule
);
else
...
...
@@ -474,8 +474,8 @@ static void* Manage( void* p_object )
i_lastcheck
=
i_time
;
vlc_mutex_unlock
(
&
vlm
->
lock
);
}
vlc_mutex_unlock
(
&
vlm
->
lock
);
vlc_restorecancel
(
canc
);
return
NULL
;
...
...
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