You've already forked opencryptoki
mirror of
https://github.com/opencryptoki/opencryptoki.git
synced 2026-10-27 06:12:56 +03:00
Function bt_put_node_value() does not really modify the btree, but it decrements the node values reference count. Do not use the btree's mutex to lock the reference count from being modified concurrently, but use the built-in functions for atomic memory access instead. This allows bt_put_node_value() to run lock-free. Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>