fix: aix build #4742

This commit is contained in:
Eric Eichhorn
2024-10-22 12:36:03 +02:00
committed by Matej Kenda
parent c735162abc
commit 82c17ea813
5 changed files with 40 additions and 3 deletions

View File

@@ -64,10 +64,12 @@ public:
TIDImpl tidImpl() const;
void setNameImpl(const std::string& threadName);
std::string getNameImpl() const;
#ifndef POCO_NO_THREADNAME
std::string getOSThreadNameImpl();
/// Returns the thread's name, expressed as an operating system
/// specific name value. Return empty string if thread is not running.
/// For test used only.
#endif
void setPriorityImpl(int prio);
int getPriorityImpl() const;
void setOSPriorityImpl(int prio, int policy = SCHED_OTHER);