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

* load.c (load_unlock): all threads requiring one file should

share same loading barrier, so it must be kept alive while those
  are waiting on it.  [ruby-core:41618] [Bug #5754]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2011-12-13 07:13:31 +00:00
parent ddc15717cc
commit ab6c8910f4
5 changed files with 79 additions and 3 deletions

View file

@ -181,6 +181,7 @@ void rb_thread_execute_interrupts(VALUE th);
void rb_clear_trace_func(void);
VALUE rb_thread_backtrace(VALUE thval);
VALUE rb_get_coverages(void);
int rb_barrier_waiting(VALUE barrier);
/* thread_pthread.c, thread_win32.c */
void Init_native_thread(void);