aboutsummaryrefslogtreecommitdiffstats
path: root/thread_win32.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-13 01:16:36 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-13 01:16:36 +0000
commit079b5cc0bb8ca6fa3d3955cefc6f07737070df7f (patch)
tree415faf6b5a1bf34330cc401b2341aa6df8f97f48 /thread_win32.c
parent0f4e4aae22b4e7b92b7ca72dc7dab4b22a9752b4 (diff)
downloadruby-079b5cc0bb8ca6fa3d3955cefc6f07737070df7f.tar.gz
thread_win32.c: disable currently unused functions
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_win32.c')
-rw-r--r--thread_win32.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/thread_win32.c b/thread_win32.c
index da181f043e..0634b9744f 100644
--- a/thread_win32.c
+++ b/thread_win32.c
@@ -393,6 +393,7 @@ native_cond_signal(rb_nativethread_cond_t *cond)
}
}
+#if 0
static void
native_cond_broadcast(rb_nativethread_cond_t *cond)
{
@@ -413,7 +414,7 @@ native_cond_broadcast(rb_nativethread_cond_t *cond)
e = next;
}
}
-
+#endif
static int
native_cond_timedwait_ms(rb_nativethread_cond_t *cond, rb_nativethread_lock_t *mutex, unsigned long msec)
@@ -452,6 +453,7 @@ native_cond_wait(rb_nativethread_cond_t *cond, rb_nativethread_lock_t *mutex)
return native_cond_timedwait_ms(cond, mutex, INFINITE);
}
+#if 0
static unsigned long
abs_timespec_to_timeout_ms(const struct timespec *ts)
{
@@ -509,6 +511,7 @@ native_cond_timeout(rb_nativethread_cond_t *cond, struct timespec timeout_rel)
return timeout;
}
+#endif
static void
native_cond_initialize(rb_nativethread_cond_t *cond, int flags)