|
|
@ -404,8 +404,11 @@ restart:
|
|
|
|
ck_pr_store_ptr(first, insert);
|
|
|
|
ck_pr_store_ptr(first, insert);
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* If a duplicate was found, then we must guarantee that new entry
|
|
|
|
* If a duplicate key was found, then delete it after
|
|
|
|
* is visible with respect to concurrent probe sequences.
|
|
|
|
* signaling concurrent probes to restart. Optionally,
|
|
|
|
|
|
|
|
* it is possible to install tombstone after grace
|
|
|
|
|
|
|
|
* period if we can guarantee earlier position of
|
|
|
|
|
|
|
|
* duplicate key.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
if (slot != NULL && *slot != CK_HS_EMPTY) {
|
|
|
|
if (slot != NULL && *slot != CK_HS_EMPTY) {
|
|
|
|
ck_pr_inc_uint(&map->generation[h & CK_HS_G_MASK]);
|
|
|
|
ck_pr_inc_uint(&map->generation[h & CK_HS_G_MASK]);
|
|
|
|