summaryrefslogtreecommitdiff
path: root/rts/posix
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2011-12-12 09:32:54 +0000
committerSimon Marlow <marlowsd@gmail.com>2011-12-12 09:33:21 +0000
commit883544b5373bee3ca3cfd6893d610f8e15e94bb8 (patch)
tree5c5d540a94d0ceee6bb6ab65907e33ae5a986125 /rts/posix
parentacbb3dba4490d53762b5aecfb9a45049dea15c79 (diff)
downloadhaskell-883544b5373bee3ca3cfd6893d610f8e15e94bb8.tar.gz
change a contextSwitchCapability() to interruptCapability()
Diffstat (limited to 'rts/posix')
-rw-r--r--rts/posix/Signals.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/posix/Signals.c b/rts/posix/Signals.c
index 38c9792552..fe46a8358f 100644
--- a/rts/posix/Signals.c
+++ b/rts/posix/Signals.c
@@ -251,7 +251,7 @@ generic_handler(int sig USED_IF_THREADS,
stg_exit(EXIT_FAILURE);
}
- contextSwitchCapability(&MainCapability);
+ interruptCapability(&MainCapability);
#endif /* THREADED_RTS */
}