summaryrefslogtreecommitdiff
path: root/signal.c
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-24 08:00:24 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-24 08:00:24 +0000
commit0533885ae22a658fb356884caab862296ac8f0eb (patch)
treea1e81a30033ccbbb9aea606c5fcaad74a7d7e80b /signal.c
parent8e1d6f5b48c83712a6c721d7826f4cf78c6cab25 (diff)
* win32/win32.c (set_pioinfo_extra): new function for VC++8 SP1
workaround. [ruby-core:10259] * win32/win32.c (NtInitialize): call above function. * signal.c (sighandler): need to tell to be interrupted to main context when handler is installed. * win32/win32.[ch] (rb_win32_interrupted): new function to listen interrupt. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@11855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'signal.c')
-rw-r--r--signal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/signal.c b/signal.c
index 9bc8a7d6c6..6c12ccbc28 100644
--- a/signal.c
+++ b/signal.c
@@ -493,6 +493,9 @@ sighandler(sig)
else {
ATOMIC_INC(rb_trap_pending);
ATOMIC_INC(trap_pending_list[sig]);
+#ifdef _WIN32
+ rb_w32_interrupted();
+#endif
}
}