From 0533885ae22a658fb356884caab862296ac8f0eb Mon Sep 17 00:00:00 2001 From: knu Date: Sat, 24 Feb 2007 08:00:24 +0000 Subject: * 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 --- win32/win32.h | 1 + 1 file changed, 1 insertion(+) (limited to 'win32/win32.h') diff --git a/win32/win32.h b/win32/win32.h index 48646da7a3..e74dbc7653 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -531,6 +531,7 @@ int rb_w32_times(struct tms *); /* thread stuff */ HANDLE GetCurrentThreadHandle(void); +void rb_w32_interrupted(void); int rb_w32_main_context(int arg, void (*handler)(int)); int rb_w32_sleep(unsigned long msec); void rb_w32_enter_critical(void); -- cgit v1.2.1