aboutsummaryrefslogtreecommitdiffstats
path: root/win32/win32.h
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-23 09:33:53 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-23 09:33:53 +0000
commitbb022bed3a0e20b6fee92ad8910d1e0651c43f18 (patch)
tree17b2da3d61e6c55ff9a85cd8117e91bbc2dd9ccc /win32/win32.h
parentbcd3345136047deb36943468bc4382074b96405f (diff)
downloadruby-bb022bed3a0e20b6fee92ad8910d1e0651c43f18.tar.gz
* thread.c (rb_thread_polling): check interrupts here.
* thread_win32.ci (w32_wait_events): rename from w32_wait_event(), and now receive multiple event handles. * win32/win32.c (wait_events, rb_w32_main_context): removed. * thread_win32.ci (rb_w32_wait_events): new function. * thread_win32.ci, win32/win32.c (rb_w32_sleep, rb_w32_Sleep): move from win32/win32.c to thread_win32.ci, and use w32_wait_events(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/win32.h')
-rw-r--r--win32/win32.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/win32/win32.h b/win32/win32.h
index dccb63d116..8ff7db320d 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -510,7 +510,6 @@ int rb_w32_times(struct tms *);
/* thread stuff */
HANDLE GetCurrentThreadHandle(void);
-int rb_w32_main_context(int arg, void (*handler)(int));
int rb_w32_sleep(unsigned long msec);
void rb_w32_enter_critical(void);
void rb_w32_leave_critical(void);