From 961f557a7bb0bbaf1cd8271c58cd69cf98166ae2 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 24 Feb 2007 09:41:41 +0000 Subject: * intern.h (rb_thread_blocking_region): add prototype. * thread.c (BLOCKING_REGION): restore previous UBF. * thread.c (rb_thread_blocking_region): default UBF to interrupt in system dependent way by RB_UBF_DFL. + ubf_select() on posix system + ubf_handle() on Win32 + none on cygwin git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread_pthread.ci | 2 ++ 1 file changed, 2 insertions(+) (limited to 'thread_pthread.ci') diff --git a/thread_pthread.ci b/thread_pthread.ci index b28301704..1b9d1b9c5 100644 --- a/thread_pthread.ci +++ b/thread_pthread.ci @@ -310,6 +310,8 @@ ubf_select(rb_thread_t *th) add_signal_thread_list(th); ubf_select_each(th); } +#else +#define ubf_select 0 #endif static void -- cgit