gem5 v24.0.0.0
|
The unordered_map structure needs the parenthesis operator defined for std::hash if a user defined key is used. More...
#include <futex_map.hh>
Public Member Functions | |
size_t | operator() (const gem5::FutexKey &in) const |
The unordered_map structure needs the parenthesis operator defined for std::hash if a user defined key is used.
Our key is is user defined so we need to provide the hash functor.
Definition at line 65 of file futex_map.hh.
|
inline |
Definition at line 67 of file futex_map.hh.
References gem5::FutexKey::addr, and gem5::FutexKey::tgid.