SWDEV-558844 - Cleanup Os header (#1530)

Remove codes that aren't used in Os header.
This commit is contained in:
MachineTom
2025-10-27 11:52:31 -04:00
committed by GitHub
parent c1926d547e
commit eb69a455ed
5 changed files with 18 additions and 317 deletions
-8
View File
@@ -140,14 +140,6 @@ class Thread : public HeapObject {
size_t stackSize() const { return stackSize_; }
//! Return this thread's stack bottom.
address stackBottom() const { return stackBase() - stackSize(); }
//! Set this thread's affinity to the given cpu.
void setAffinity(uint cpu_id) const { Os::setThreadAffinity(handle_, cpu_id); }
//! Set this thread's affinity to the given cpu mask.
void setAffinity(const Os::ThreadAffinityMask& mask) const {
Os::setThreadAffinity(handle_, mask);
}
};
/*! @}