MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / push_back

Method push_back

extensions/olcPGEX_Network.h:241–248  ·  view source on GitHub ↗

Adds an item to back of Queue

Source from the content-addressed store, hash-verified

239
240 // Adds an item to back of Queue
241 void push_back(const T& item)
242 {
243 std::scoped_lock lock(muxQueue);
244 deqQueue.emplace_back(std::move(item));
245
246 std::unique_lock<std::mutex> ul(muxBlocking);
247 cvBlocking.notify_one();
248 }
249
250 // Adds an item to front of Queue
251 void push_front(const T& item)

Callers 15

scrambleMethod · 0.80
CreateLayerMethod · 0.80
DrawPartialDecalMethod · 0.80
DrawDecalMethod · 0.80
DrawExplicitDecalMethod · 0.80
DrawPolygonDecalMethod · 0.80
HW3D_DrawObjectMethod · 0.80
HW3D_DrawLineMethod · 0.80
HW3D_DrawLineBoxMethod · 0.80
DrawRotatedDecalMethod · 0.80

Calls

no outgoing calls

Tested by 2

OnUserCreateMethod · 0.64
OnUserCreateMethod · 0.64