* thread_tools.c: rename thread_tools.c to thread_sync.c.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2015-09-01 09:08:42 +00:00
Родитель 16e86cdfd7
Коммит dcf6ac4975
4 изменённых файлов: 8 добавлений и 4 удалений

Просмотреть файл

@ -1,3 +1,7 @@
Tue Sep 1 18:06:26 2015 Koichi Sasada <ko1@atdot.net>
* thread_tools.c: rename thread_tools.c to thread_sync.c.
Mon Aug 31 17:04:45 2015 Koichi Sasada <ko1@atdot.net> Mon Aug 31 17:04:45 2015 Koichi Sasada <ko1@atdot.net>
* class.c (move_refined_method): should insert a write barrier * class.c (move_refined_method): should insert a write barrier

Просмотреть файл

@ -2250,7 +2250,7 @@ thread.$(OBJEXT): {$(VPATH)}thread.h
thread.$(OBJEXT): {$(VPATH)}thread_$(THREAD_MODEL).c thread.$(OBJEXT): {$(VPATH)}thread_$(THREAD_MODEL).c
thread.$(OBJEXT): {$(VPATH)}thread_$(THREAD_MODEL).h thread.$(OBJEXT): {$(VPATH)}thread_$(THREAD_MODEL).h
thread.$(OBJEXT): {$(VPATH)}thread_native.h thread.$(OBJEXT): {$(VPATH)}thread_native.h
thread.$(OBJEXT): {$(VPATH)}thread_tools.c thread.$(OBJEXT): {$(VPATH)}thread_sync.c
thread.$(OBJEXT): {$(VPATH)}timev.h thread.$(OBJEXT): {$(VPATH)}timev.h
thread.$(OBJEXT): {$(VPATH)}vm_core.h thread.$(OBJEXT): {$(VPATH)}vm_core.h
thread.$(OBJEXT): {$(VPATH)}vm_debug.h thread.$(OBJEXT): {$(VPATH)}vm_debug.h

Просмотреть файл

@ -331,7 +331,7 @@ rb_thread_debug(
} }
#endif #endif
#include "thread_tools.c" #include "thread_sync.c"
void void
rb_vm_gvl_destroy(rb_vm_t *vm) rb_vm_gvl_destroy(rb_vm_t *vm)
@ -4656,7 +4656,7 @@ Init_Thread(void)
/* suppress warnings on cygwin, mingw and mswin.*/ /* suppress warnings on cygwin, mingw and mswin.*/
(void)native_mutex_trylock; (void)native_mutex_trylock;
Init_thread_tools(); Init_thread_sync();
} }
int int

Просмотреть файл

@ -1240,7 +1240,7 @@ undumpable(VALUE obj)
} }
static void static void
Init_thread_tools(void) Init_thread_sync(void)
{ {
#if 0 #if 0
rb_cConditionVariable = rb_define_class("ConditionVariable", rb_cObject); /* teach rdoc ConditionVariable */ rb_cConditionVariable = rb_define_class("ConditionVariable", rb_cObject); /* teach rdoc ConditionVariable */