Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
86f2671b
Commit
86f2671b
authored
Mar 16, 2006
by
Simon Marlow
Browse files
fix up Win32 build
parent
f83d5d07
Changes
2
Hide whitespace changes
Inline
Side-by-side
ghc/rts/win32/AsyncIO.c
View file @
86f2671b
...
...
@@ -219,7 +219,7 @@ start:
if
(
completed_hw
==
0
)
{
/* empty table, drop lock and wait */
LeaveCriticalSection
(
&
queue_lock
);
if
(
wait
&&
!
interrupted
)
{
if
(
wait
&&
sched_state
==
SCHED_RUNNING
)
{
DWORD
dwRes
=
WaitForMultipleObjects
(
2
,
wait_handles
,
FALSE
,
INFINITE
);
switch
(
dwRes
)
{
case
WAIT_OBJECT_0
:
...
...
ghc/rts/win32/ConsoleHandler.c
View file @
86f2671b
...
...
@@ -70,7 +70,7 @@ static BOOL WINAPI shutdown_handler(DWORD dwCtrlType)
// If we're already trying to interrupt the RTS, terminate with
// extreme prejudice. So the first ^C tries to exit the program
// cleanly, and the second one just kills it.
if
(
interrupted
)
{
if
(
sched_state
>=
SCHED_INTERRUPTING
)
{
stg_exit
(
EXIT_INTERRUPTED
);
}
else
{
interruptStgRts
();
...
...
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