1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* thread.c (rb_gc_mark_threads): deprecated.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-08-14 12:04:31 +00:00
parent 78b10588bf
commit f214490d90
4 changed files with 6 additions and 3 deletions

View file

@ -1,3 +1,7 @@
Sat Aug 14 21:04:28 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* thread.c (rb_gc_mark_threads): deprecated.
Sat Aug 14 19:12:10 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/{coverage,objspace}/extconf.rb ($INCFLAGS): explicitly add

1
gc.c
View file

@ -2347,7 +2347,6 @@ gc_marks(rb_objspace_t *objspace)
mark_current_machine_context(objspace, th);
rb_gc_mark_threads();
rb_gc_mark_symbols();
rb_gc_mark_encodings();

View file

@ -333,7 +333,7 @@ void rb_exec_end_proc(void);
void ruby_finalize(void);
NORETURN(void ruby_stop(int));
int ruby_cleanup(volatile int);
void rb_gc_mark_threads(void);
DEPRECATED(void rb_gc_mark_threads(void));
void rb_thread_schedule(void);
void rb_thread_wait_fd(int);
int rb_thread_fd_writable(int);

View file

@ -1326,7 +1326,7 @@ rb_threadptr_execute_interrupts(rb_thread_t *th)
void
rb_gc_mark_threads(void)
{
/* TODO: remove */
rb_bug("deprecated function rb_gc_mark_threads is called");
}
/*****************************************************/