Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
09cc30df
Commit
09cc30df
authored
Aug 15, 2014
by
Hannes Domani
Committed by
Rémi Denis-Courmont
Aug 16, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oldrc: fix thread-cancellation on windows (fixes #10483)
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
3cd4baea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/control/rc.c
modules/control/rc.c
+4
-2
No files found.
modules/control/rc.c
View file @
09cc30df
...
...
@@ -1798,8 +1798,8 @@ static bool ReadWin32( intf_thread_t *p_intf, char *p_buffer, int *pi_size )
DWORD
i_dw
;
/* On Win32, select() only works on socket descriptors */
while
(
WaitForSingleObject
(
p_intf
->
p_sys
->
hConsoleIn
,
INTF_IDLE_SLEEP
/
1000
)
==
WAIT_OBJECT_0
)
while
(
WaitForSingleObject
Ex
(
p_intf
->
p_sys
->
hConsoleIn
,
INTF_IDLE_SLEEP
/
1000
,
TRUE
)
==
WAIT_OBJECT_0
)
{
while
(
*
pi_size
<
MAX_LINE_LENGTH
&&
ReadConsoleInput
(
p_intf
->
p_sys
->
hConsoleIn
,
&
input_record
,
...
...
@@ -1853,6 +1853,8 @@ static bool ReadWin32( intf_thread_t *p_intf, char *p_buffer, int *pi_size )
}
}
vlc_testcancel
();
return
false
;
}
#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