summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-19 05:32:05 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-19 05:32:05 +0000
commit4c4aef3bbe4db3e1d7fc2116bf2a868e44f52dee (patch)
tree0484c61b4fde6d74c90254cc046b81e8860e6a56
parentd31e1d4a52fc17c0cd8848eedd6e0934f5ea5291 (diff)
* thread.c (rb_thread_execute_interrupts): needs
rb_signal_buff_size to be declared. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--thread.c1
-rw-r--r--thread_pthread.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 64884caa41..08cce0247e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Jan 19 14:31:59 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * thread.c (rb_thread_execute_interrupts): needs
+ rb_signal_buff_size to be declared.
+
Mon Jan 19 13:34:25 2009 Koichi Sasada <ko1@atdot.net>
* ruby.c (require_libraries): reset th->parse_in_eval while
diff --git a/thread.c b/thread.c
index 9996d6a4ae..b83c9495ed 100644
--- a/thread.c
+++ b/thread.c
@@ -69,6 +69,7 @@ static int rb_thread_dead(rb_thread_t *th);
static void rb_check_deadlock(rb_vm_t *vm);
+int rb_signal_buff_size(void);
void rb_signal_exec(rb_thread_t *th, int sig);
void rb_disable_interrupt(void);
void rb_thread_stop_timer_thread(void);
diff --git a/thread_pthread.c b/thread_pthread.c
index 72f8a2f288..3e368c6a6b 100644
--- a/thread_pthread.c
+++ b/thread_pthread.c
@@ -741,8 +741,6 @@ get_ts(struct timespec *ts, unsigned long nsec)
return ts;
}
-int rb_signal_buff_size(void);
-
static void *
thread_timer(void *dummy)
{