Commit f6feb336 authored by simonmar's avatar simonmar
Browse files

[project @ 2005-11-03 16:47:45 by simonmar]

adjust type of startSignalHandlers() to make changes to Win32 version
parent 71c492fc
......@@ -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));
}
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment