зеркало из https://github.com/github/ruby.git
* 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:
Родитель
16e86cdfd7
Коммит
dcf6ac4975
|
@ -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
|
||||||
|
|
4
thread.c
4
thread.c
|
@ -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 */
|
Загрузка…
Ссылка в новой задаче