Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
f6feb336
Commit
f6feb336
authored
Nov 03, 2005
by
simonmar
Browse files
[project @ 2005-11-03 16:47:45 by simonmar]
adjust type of startSignalHandlers() to make changes to Win32 version
parent
71c492fc
Changes
2
Show whitespace changes
Inline
Side-by-side
ghc/rts/posix/Signals.c
View file @
f6feb336
...
...
@@ -345,7 +345,7 @@ stg_sig_install(int sig, int spi, StgStablePtr *handler, void *mask)
#if !defined(THREADED_RTS)
void
startSignalHandlers
(
void
)
startSignalHandlers
(
Capability
*
cap
)
{
blockUserSignals
();
...
...
@@ -353,9 +353,8 @@ startSignalHandlers(void)
next_pending_handler
--
;
scheduleThread
(
&
MainCapability
,
createIOThread
(
&
MainCapability
,
scheduleThread
(
cap
,
createIOThread
(
cap
,
RtsFlags
.
GcFlags
.
initialStkSize
,
(
StgClosure
*
)
*
next_pending_handler
));
}
...
...
ghc/rts/posix/Signals.h
View file @
f6feb336
...
...
@@ -16,7 +16,8 @@ extern rtsBool anyUserHandlers(void);
extern
StgPtr
pending_handler_buf
[];
extern
StgPtr
*
next_pending_handler
;
#define signals_pending() (next_pending_handler != pending_handler_buf)
void
startSignalHandlers
(
void
);
void
startSignalHandlers
(
Capability
*
cap
);
#endif
...
...
Write
Preview
Supports
Markdown
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