Skip to content

Commit

Permalink
Rebase 8.6.7: fix threadcb rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Or Friedmann authored and Yuval-Ariel committed Dec 25, 2023
1 parent aa5038a commit 5e356db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion env/env_posix.cc
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ class PosixEnv : public CompositeEnv {
explicit JoinThreadsOnExit(PosixEnv& _deflt) : deflt(_deflt) {}
~JoinThreadsOnExit() {
for (auto& tid : deflt.threads_to_join_) {
pthread_join(tid.native_handle(), nullptr);
tid.join();
}
for (int pool_id = 0; pool_id < Env::Priority::TOTAL; ++pool_id) {
deflt.thread_pools_[pool_id].JoinAllThreads();
Expand Down

0 comments on commit 5e356db

Please sign in to comment.