| 128 | |
| 129 | private: |
| 130 | struct Thrd |
| 131 | { |
| 132 | Thrd(Thread&& aThread, bool ending) |
| 133 | : thread(std::move(aThread)), |
| 134 | ending(ending) |
| 135 | { } |
| 136 | |
| 137 | Thrd(Thrd&& other) |
| 138 | : thread(std::move(other.thread)), |
| 139 | ending(other.ending) |
| 140 | { } |
| 141 | |
| 142 | Thrd& operator=(Thrd&& other) |
| 143 | { |
| 144 | thread = std::move(other.thread); |
| 145 | ending = other.ending; |
| 146 | return *this; |
| 147 | } |
| 148 | |
| 149 | Thread thread; |
| 150 | bool ending; |
| 151 | }; |
| 152 | |
| 153 | #ifndef ANDROID |
| 154 | using AllThreads = std::vector<Thrd, Firebird::PoolAllocator<Thrd>>; |