PMDK C++ bindings
1.9
This is the C++ bindings documentation for PMDK's libpmemobj.
|
Bucket accessor is to find, rehash, acquire a lock, and access a bucket. More...
#include <libpmemobj++/container/concurrent_hash_map.hpp>
Inherits bucket_lock_type.
Public Member Functions | |
void | acquire (concurrent_hash_map *base, const hashcode_type h, bool writer=false) |
Find a bucket by masked hashcode, optionally rehash, and acquire the lock. | |
bool | is_writer () const |
Check whether bucket is locked for write. | |
bucket * | get () const |
Get bucket pointer. More... | |
bucket * | operator-> () const |
Overloaded arrow operator. More... | |
Bucket accessor is to find, rehash, acquire a lock, and access a bucket.
|
inline |
Get bucket pointer.
|
inline |
Overloaded arrow operator.