MCPcopy Create free account
hub / github.com/LuxCoreRender/LuxCore / Pop

Method Pop

include/luxrays/core/geometry/raybuffer.h:194–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192 }
193
194 RayBuffer *Pop() {
195 boost::unique_lock<boost::mutex> lock(queueMutex);
196
197 while (queue.size() < 1) {
198 // Wait for a new buffer to arrive
199 condition.wait(lock);
200 }
201
202 RayBuffer *rayBuffer = queue.front();
203 queue.pop_front();
204 return rayBuffer;
205 }
206
207 //--------------------------------------------------------------------------
208

Callers 6

PopToDoMethod · 0.45
PopDoneMethod · 0.45
PopToDoMethod · 0.45
PopDoneMethod · 0.45
PopToDoMethod · 0.45
PopDoneMethod · 0.45

Calls 6

frontMethod · 0.80
GetUserDataMethod · 0.80
PopUserDataMethod · 0.80
sizeMethod · 0.45
eraseMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected