gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
FutexKey Class Reference

FutexKey class defines an unique identifier for a particular futex in the system. More...

#include <futex_map.hh>

Public Member Functions

 FutexKey (uint64_t addr_in, uint64_t tgid_in)
 
bool operator== (const FutexKey &in) const
 

Public Attributes

uint64_t addr
 
uint64_t tgid
 

Detailed Description

FutexKey class defines an unique identifier for a particular futex in the system.

The tgid and an address are the unique values needed as the key.

Definition at line 44 of file futex_map.hh.

Constructor & Destructor Documentation

FutexKey::FutexKey ( uint64_t  addr_in,
uint64_t  tgid_in 
)
inline

Definition at line 49 of file futex_map.hh.

Member Function Documentation

bool FutexKey::operator== ( const FutexKey in) const
inline

Definition at line 55 of file futex_map.hh.

References addr, and tgid.

Member Data Documentation

uint64_t FutexKey::addr

Definition at line 46 of file futex_map.hh.

Referenced by std::hash< FutexKey >::operator()(), and operator==().

uint64_t FutexKey::tgid

Definition at line 47 of file futex_map.hh.

Referenced by std::hash< FutexKey >::operator()(), and operator==().


The documentation for this class was generated from the following file:

Generated on Fri Jun 9 2017 13:04:11 for gem5 by doxygen 1.8.6