MCPcopy Create free account
hub / github.com/NVIDIA/DALI / push

Method push

dali/util/thread_safe_queue.h:29–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27class ThreadSafeQueue {
28 public:
29 void push(T item) {
30 {
31 std::lock_guard<std::mutex> lock(lock_);
32 queue_.push(std::move(item));
33 }
34 cond_.notify_one();
35 }
36
37 T pop() {
38 std::unique_lock<std::mutex> lock{lock_};

Callers 15

PutReadWorkMethod · 0.80
AddMethod · 0.80
SendFrameToParserMethod · 0.80
push_sequence_to_readMethod · 0.80
handle_display_Method · 0.80
push_reqMethod · 0.80
AddTaskNoLockMethod · 0.80
NotifyMethod · 0.80
InitializeQueuesMethod · 0.80
ReleaseIdxsMethod · 0.80
QueueOutputIdxsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected