#include <worldhashmap.h>
|
entryT * | match (const keyT &key) const |
|
| Spinlock (int junk=0) |
| Make and initialize a spinlock ... initial state is unlocked.
|
|
virtual | ~Spinlock () |
|
void | lock () const |
| Acquire the spinlock waiting if necessary.
|
|
bool | try_lock () const |
| Try to acquire the spinlock ... return true on success, false on failure.
|
|
void | unlock () const |
| Free a spinlock owned by this thread.
|
|
◆ datumT
template<class keyT , class
valueT >
◆ entryT
template<class keyT , class
valueT >
◆ bin()
template<class keyT , class
valueT >
◆ ~bin()
template<class keyT , class
valueT >
◆ clear()
template<class keyT , class
valueT >
◆ del()
template<class keyT , class
valueT >
References madness::Spinlock::lock(), madness::Hash_private::bin< keyT, valueT >::ninbin, madness::Hash_private::bin< keyT, valueT >::p, status, and madness::Spinlock::unlock().
Referenced by madness::ConcurrentHashMap< keyT, valueT, hashfunT >::erase(), and madness::ConcurrentHashMap< keyT, valueT, hashfunT >::erase().
◆ find()
template<class keyT , class
valueT >
References madness::Spinlock::lock(), madness::Hash_private::bin< keyT, valueT >::match(), madness::Spinlock::unlock(), and madness::MutexWaiter::wait().
Referenced by madness::ConcurrentHashMap< keyT, valueT, hashfunT >::find(), madness::ConcurrentHashMap< keyT, valueT, hashfunT >::find(), madness::ConcurrentHashMap< keyT, valueT, hashfunT >::find(), and madness::ConcurrentHashMap< keyT, valueT, hashfunT >::find().
◆ insert()
template<class keyT , class
valueT >
References madness::Spinlock::lock(), madness::Hash_private::bin< keyT, valueT >::match(), madness::Hash_private::bin< keyT, valueT >::ninbin, madness::Hash_private::bin< keyT, valueT >::p, madness::Spinlock::unlock(), and madness::MutexWaiter::wait().
Referenced by madness::ConcurrentHashMap< keyT, valueT, hashfunT >::insert(), madness::ConcurrentHashMap< keyT, valueT, hashfunT >::insert(), and madness::ConcurrentHashMap< keyT, valueT, hashfunT >::insert().
◆ match()
template<class keyT , class
valueT >
◆ size()
template<class keyT , class
valueT >
◆ ninbin
template<class keyT , class
valueT >
template<class keyT , class
valueT >
The documentation for this class was generated from the following file: