MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / Thrd

Class Thrd

src/jrd/ThreadCollect.h:130–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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>>;

Callers 2

endingMethod · 0.85
runningMethod · 0.85

Calls 1

moveFunction · 0.50

Tested by

no test coverage detected