diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-16 08:39:48 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-16 08:39:48 +0000 |
commit | c8094ff154065f243292a09dce5d4c8d90f8309a (patch) | |
tree | 28ccfd4e07acf80942775e6db9811d41a9595ff0 /thread_sync.c | |
parent | 24dfe5e749eaa34bc6c1cba15811efbcc0a578f4 (diff) | |
download | ruby-c8094ff154065f243292a09dce5d4c8d90f8309a.tar.gz |
no ID cache in Init functions
Init functions are called only once, cache is useless.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_sync.c')
-rw-r--r-- | thread_sync.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/thread_sync.c b/thread_sync.c index 8506bff38f..f1537b6a90 100644 --- a/thread_sync.c +++ b/thread_sync.c @@ -1379,6 +1379,7 @@ define_thread_class(VALUE outer, const char *name, VALUE super) static void Init_thread_sync(void) { +#undef rb_intern #if 0 rb_cMutex = rb_define_class("Mutex", rb_cObject); /* teach rdoc Mutex */ rb_cConditionVariable = rb_define_class("ConditionVariable", rb_cObject); /* teach rdoc ConditionVariable */ |