summaryrefslogtreecommitdiff
path: root/sig.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-05-18 04:56:27 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-05-18 04:56:27 +0000
commit32dc42cf1a248821df7594047bd3fd7822622b32 (patch)
treeb44992897e705edbaec22a2c5e4aee402c5d5177 /sig.h
parentec6b316cf26eae7eb36e3f9bce24110319e33e35 (diff)
*** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sig.h')
-rw-r--r--sig.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sig.h b/sig.h
index 24a5160d37..ea2f4d374a 100644
--- a/sig.h
+++ b/sig.h
@@ -24,9 +24,9 @@ void trap_restore_mask _((void));
#ifdef THREAD
extern int thread_critical;
+void thread_schedule _((void));
#if defined(HAVE_SETITIMER) && !defined(__BOW__)
extern int thread_pending;
-void thread_schedule();
# define CHECK_INTS if (!prohibit_interrupt) {\
if (trap_pending) rb_trap_exec();\
if (thread_pending && !thread_critical) thread_schedule();\
@@ -35,7 +35,6 @@ void thread_schedule();
/* pseudo preemptive thread switching */
extern int thread_tick;
#define THREAD_TICK 500
-void thread_schedule();
# define CHECK_INTS if (!prohibit_interrupt) {\
if (trap_pending) rb_trap_exec();\
if (!thread_critical) {\