summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-30 07:56:02 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-30 07:56:02 (GMT)
commit2dffc6bba3a7fb1ee199cbc44b9e385aa6cf59c3 (patch)
tree2963e065279feb49803a546b464f5844b9f39a3c /thread.c
parentc3bd57d18e5537b11985578b2fe1bd5025044204 (diff)
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
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index a9642b7..aaf0cd9 100644
--- a/thread.c
+++ b/thread.c
@@ -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);