add concurrency join check for debug pthread_join failed issue

This commit is contained in:
obdev
2023-02-24 12:20:29 +00:00
committed by ob-robot
parent 022cf12f51
commit 1ce0caed61
2 changed files with 9 additions and 1 deletions

View File

@ -65,6 +65,7 @@ private:
#endif
int64_t stack_size_;
bool stop_;
int64_t join_concurrency_;
};
OB_INLINE pid_t Thread::get_pid() const