efficient / libcuckoo

A high-performance, concurrent hash table
Other
1.62k stars 275 forks source link

Add option to use futex APIs for `spinlock` #149

Open BurningEnlightenment opened 2 years ago

BurningEnlightenment commented 2 years ago

During the discussion of #146 it has been suggested that the congestion could be reduced by relying on C++20 futex APIs. Additionally we incorporated the try_lock() design from 2.

Please note that this hasn't been benchmarked.