summaryrefslogtreecommitdiffstats
path: root/thread.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-01 19:55:25 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-01 19:55:25 +0000
commitfa8c20d7442acba1caeabc56e5a97a19b759a938 (patch)
treeb5ac3b9bccd8d1b669137035a316ba53a5b0e276 /thread.c
parent7bf0804e548db6cb1e517f5d75f54ac6fab41500 (diff)
downloadruby-fa8c20d7442acba1caeabc56e5a97a19b759a938.tar.gz
ruby-fa8c20d7442acba1caeabc56e5a97a19b759a938.tar.xz
ruby-fa8c20d7442acba1caeabc56e5a97a19b759a938.zip
* suppress warnings on cygwin, mingw and mswin.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/thread.c b/thread.c
index 5c1deb744..ec168f213 100644
--- a/thread.c
+++ b/thread.c
@@ -3256,6 +3256,9 @@ Init_Thread(void)
}
rb_thread_create_timer_thread();
+
+ (void)native_mutex_trylock;
+ (void)ruby_thread_set_native;
}
int