Re: [Mono-dev] do_rehash race

2015-05-28 Thread Rodrigo Kumpera
Good catch! That's indeed a bug. On Thu, May 28, 2015 at 2:35 PM, Neale Ferguson ne...@sinenomine.net wrote: Hi, When a hash table exceeds a threshold a rehash operation is triggered. At the moment the new table is allocated and its address placed in the table field of the structure. The

[Mono-dev] do_rehash race

2015-05-28 Thread Neale Ferguson
Hi, When a hash table exceeds a threshold a rehash operation is triggered. At the moment the new table is allocated and its address placed in the table field of the structure. The do_rehash also then copies the entries from the old table to the new. However, if there is another thread active that