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
e8baa846
Commit
e8baa846
authored
Jul 28, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Win32: fix use of WaitForMultipleObjectsEx() (fix #5130)
parent
22c3b97b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/win32/thread.c
src/win32/thread.c
+3
-1
No files found.
src/win32/thread.c
View file @
e8baa846
...
...
@@ -143,6 +143,7 @@ static DWORD vlc_WaitForSingleObject (HANDLE handle, DWORD delay)
return
vlc_WaitForMultipleObjects
(
1
,
&
handle
,
delay
);
}
#if 0 // WaitForMultipleObjectsEx() cannot deal with zero handles
static DWORD vlc_Sleep (DWORD delay)
{
DWORD ret = vlc_WaitForMultipleObjects (0, NULL, delay);
...
...
@@ -150,6 +151,7 @@ static DWORD vlc_Sleep (DWORD delay)
ret = 0;
return ret;
}
#endif
/*** Mutexes ***/
...
...
@@ -789,7 +791,7 @@ void mwait (mtime_t deadline)
delay
/=
1000
;
if
(
unlikely
(
delay
>
0x7fffffff
))
delay
=
0x7fffffff
;
vlc_Sleep
(
delay
);
SleepEx
(
delay
,
TRUE
);
vlc_testcancel
();
}
}
...
...
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