From: "Iñaki Baz Castillo" Date: 2012-05-14T09:32:07+09:00 Subject: Re: [C exten] Is it safe to use rb_hash_delete() without having the GVL? 2012/5/14 SASADA Koichi : > I believe it is dangerous. > > Because: > > (1) rb_hash_delete() can call Ruby's #hash method for each elements. > (2) If another thread access to the hash simultaneously, it will be crash. Thanks, I understand. However in my case I use Fixnums as keys in the hash. I've done several tests and never crashes, maybe because Fixnum objects are "untouchable"? -- Iñaki Baz Castillo