issue#I5KOL1 Use pthread_cond_timedwait instead of pthread_cond_wait to handle

m_readySessionList when all workers are idle
This commit is contained in:
Chunling Wang
2022-07-28 18:28:43 +08:00
parent a4bdb7450b
commit 573423cac6
4 changed files with 21 additions and 4 deletions

View File

@ -52,6 +52,7 @@ public:
void ReaperAllSession();
void ShutDown() const;
bool GetSessIshang(instr_time* current_time, uint64* sessionId);
bool hasNoReadySession();
inline ThreadPoolGroup* GetGroup()
{