MCPcopy Create free account
hub / github.com/Tom94/tev / push

Method push

include/tev/SharedQueue.h:42–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 }
41
42 void push(const T& newElem) {
43 std::lock_guard lock{mMutex};
44 mRawQueue.push_back(newElem);
45 mDataCondition.notify_one();
46 }
47
48 void push(T&& newElem) {
49 std::lock_guard lock{mMutex};

Callers 4

enqueueMethod · 0.45
publishSortedLoadsMethod · 0.45
scheduleToUiThreadMethod · 0.45
enqueueTaskMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected