diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-23 05:23:02 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-23 05:23:02 +0000 |
commit | ae2370fb50bb66cbece2cf2f338b1569b631353f (patch) | |
tree | 2558a42414a1135a2612857ece1da4068b555ef2 /win32/win32.h | |
parent | 38c8efbe2d24fdf5762beeda1075331dc5a5253e (diff) |
* 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@11824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/win32.h')
-rw-r--r-- | win32/win32.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |