#include <worldhashmap.h>
|
entryT * | match (const keyT &key) const |
|
| Spinlock (int junk=0) |
| Make and initialize a spinlock ... initial state is unlocked. More...
|
|
virtual | ~Spinlock () |
|
void | lock () const |
| Acquire the spinlock waiting if necessary. More...
|
|
bool | try_lock () const |
| Try to acquire the spinlock ... return true on success, false on failure. More...
|
|
void | unlock () const |
| Free a spinlock owned by this thread. More...
|
|
◆ 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::entry< keyT, valueT >::next, 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().
◆ find()
template<class keyT , class valueT >
◆ 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::MutexReaderWriter::try_lock(), madness::Spinlock::unlock(), and madness::MutexWaiter::wait().
Referenced by 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: