diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-30 07:56:02 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-30 07:56:02 +0000 |
commit | d7ef6b5556cc4d6c0cd52259d079c1e406673bfd (patch) | |
tree | 2963e065279feb49803a546b464f5844b9f39a3c | |
parent | f6a53c50b1407cd8d91f5d4930a221073ae3e42f (diff) | |
download | ruby-d7ef6b5556cc4d6c0cd52259d079c1e406673bfd.tar.gz |
thread.c: identity hash
* thread.c (rb_uninterruptible): use identity hash for masking.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5275,7 +5275,7 @@ rb_reset_coverages(void) VALUE rb_uninterruptible(VALUE (*b_proc)(ANYARGS), VALUE data) { - VALUE interrupt_mask = rb_hash_new(); + VALUE interrupt_mask = rb_ident_hash_new(); rb_thread_t *cur_th = GET_THREAD(); rb_hash_aset(interrupt_mask, rb_cObject, sym_never); |