ht_delete_if_equals()

atomically delete an item from the hashtable only if it matches the given value.