diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-24 08:00:24 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-24 08:00:24 +0000 |
commit | 0533885ae22a658fb356884caab862296ac8f0eb (patch) | |
tree | a1e81a30033ccbbb9aea606c5fcaad74a7d7e80b /signal.c | |
parent | 8e1d6f5b48c83712a6c721d7826f4cf78c6cab25 (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.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -493,6 +493,9 @@ sighandler(sig) else { ATOMIC_INC(rb_trap_pending); ATOMIC_INC(trap_pending_list[sig]); +#ifdef _WIN32 + rb_w32_interrupted(); +#endif } } |