summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-12-13 07:13:31 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-12-13 07:13:31 +0000
commitab6c8910f47a2b95f7338a182715ee0bee5ec45d (patch)
treed7691af9df1fbba665fc00009dea147af3a2eb31 /internal.h
parentddc15717ccb98d57a5b82b4138b1dc97375e4ac2 (diff)
* 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
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h
index cf3fec20b5..b45b401c6f 100644
--- a/internal.h
+++ b/internal.h
@@ -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);