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
e422319d
Commit
e422319d
authored
Sep 07, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed vlc_cond*wait on win32.
parent
e79c499d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/misc/threads.c
src/misc/threads.c
+4
-2
No files found.
src/misc/threads.c
View file @
e422319d
...
...
@@ -535,10 +535,11 @@ void vlc_cond_wait (vlc_cond_t *p_condvar, vlc_mutex_t *p_mutex)
LeaveCriticalSection
(
&
p_mutex
->
mutex
);
result
=
WaitForSingleObjectEx
(
*
p_condvar
,
INFINITE
,
TRUE
);
EnterCriticalSection
(
&
p_mutex
->
mutex
);
ResetEvent
(
*
p_condvar
);
}
while
(
result
==
WAIT_IO_COMPLETION
);
ResetEvent
(
*
p_condvar
);
#endif
}
...
...
@@ -581,10 +582,11 @@ int vlc_cond_timedwait (vlc_cond_t *p_condvar, vlc_mutex_t *p_mutex,
LeaveCriticalSection
(
&
p_mutex
->
mutex
);
result
=
WaitForSingleObjectEx
(
*
p_condvar
,
delay
,
TRUE
);
EnterCriticalSection
(
&
p_mutex
->
mutex
);
ResetEvent
(
*
p_condvar
);
}
while
(
result
==
WAIT_IO_COMPLETION
);
ResetEvent
(
*
p_condvar
);
return
(
result
==
WAIT_OBJECT_0
)
?
0
:
ETIMEDOUT
;
#endif
...
...
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