gem5 [DEVELOP-FOR-25.0]
Loading...
Searching...
No Matches
gem5::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()

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

Definition at line 34 of file futex_map.cc.

References addr, and tgid.

Referenced by operator==().

Member Function Documentation

◆ operator==()

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

Definition at line 38 of file futex_map.cc.

References addr, FutexKey(), and tgid.

Member Data Documentation

◆ addr

uint64_t gem5::FutexKey::addr

Definition at line 47 of file futex_map.hh.

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

◆ tgid

uint64_t gem5::FutexKey::tgid

Definition at line 48 of file futex_map.hh.

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


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

Generated on Mon May 26 2025 09:19:21 for gem5 by doxygen 1.13.2