lockfree icon indicating copy to clipboard operation
lockfree copied to clipboard

Golang lock-free Hashmap and List

Results 4 lockfree issues
Sort by recently updated
recently updated
newest added

Del() appears to have a fatal flaw: Since getBucket() only holds the hashmap lock ephemerally, the node being deleted could end up in a different bucket between get getBucket() and...

It's a shortcut version for `for k, v := range`: ```go m.Iterate(func(_k interface{}, _v interface{}) error { k := _k.(string) v := _v.(int64) // do something return nil }) ```