mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* gc.c (garbage_collect_with_gvl): suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f14e2a074a
commit
7d431933b6
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Mon Jan 19 10:43:38 2009 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
|
* gc.c (garbage_collect_with_gvl): suppress warnings.
|
||||||
|
|
||||||
Mon Jan 19 10:34:32 2009 NAKAMURA Usaku <usa@ruby-lang.org>
|
Mon Jan 19 10:34:32 2009 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* ext/socket/depend: workaround for nmake. files in depend without
|
* ext/socket/depend: workaround for nmake. files in depend without
|
||||||
|
|
2
gc.c
2
gc.c
|
@ -593,7 +593,7 @@ garbage_collect_with_gvl(rb_objspace_t *objspace)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (ruby_native_thread_p()) {
|
if (ruby_native_thread_p()) {
|
||||||
return (int)rb_thread_call_with_gvl(gc_with_gvl, (void *)objspace);
|
return (VALUE)rb_thread_call_with_gvl(gc_with_gvl, (void *)objspace);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
/* no ruby thread */
|
/* no ruby thread */
|
||||||
|
|
Loading…
Reference in a new issue