gem5  v20.1.0.0
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 41 of file futex_map.hh.

Constructor & Destructor Documentation

◆ FutexKey()

FutexKey::FutexKey ( uint64_t  addr_in,
uint64_t  tgid_in 
)

Definition at line 31 of file futex_map.cc.

Member Function Documentation

◆ operator==()

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

Definition at line 35 of file futex_map.cc.

References addr, and tgid.

Member Data Documentation

◆ addr

uint64_t FutexKey::addr

Definition at line 43 of file futex_map.hh.

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

◆ tgid

uint64_t FutexKey::tgid

Definition at line 44 of file futex_map.hh.

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


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

Generated on Wed Sep 30 2020 14:02:24 for gem5 by doxygen 1.8.17