summaryrefslogtreecommitdiff
path: root/thread_pthread.ci
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-24 09:41:41 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-24 09:41:41 +0000
commitf425798fdaca165c200091faf976c3cf9a52637d (patch)
tree1fa87d50ae9b1e650f40339023cd65f377f2d243 /thread_pthread.ci
parent5374de14e34fcd5354289830ab7f2212884bc4f5 (diff)
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@11861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_pthread.ci')
-rw-r--r--thread_pthread.ci2
1 files changed, 2 insertions, 0 deletions
diff --git a/thread_pthread.ci b/thread_pthread.ci
index b28301704a..1b9d1b9c53 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