| 81 | {} |
| 82 | |
| 83 | constexpr void __complete() noexcept |
| 84 | { |
| 85 | if (__pending_.fetch_sub(1) == 1) |
| 86 | { |
| 87 | auto __joiner = __joiner_.exchange(nullptr); |
| 88 | if (__joiner) |
| 89 | { |
| 90 | __joiner->join(); |
| 91 | } |
| 92 | } |
| 93 | } |
| 94 | }; |
| 95 | |
| 96 | template <class _Env> |
no test coverage detected