MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / push

Method push

rtpose_wrapper/src/caffe/util/blocking_queue.cpp:27–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25
26template<typename T>
27void BlockingQueue<T>::push(const T& t) {
28 boost::mutex::scoped_lock lock(sync_->mutex_);
29 queue_.push(t);
30 lock.unlock();
31 sync_->condition_.notify_one();
32}
33
34template<typename T>
35bool BlockingQueue<T>::try_pop(T* t) {

Callers 15

getFrameFromDirFunction · 0.80
getFrameFromCamFunction · 0.80
getFramesFunction · 0.80
processFrameFunction · 0.80
postProcessFrameFunction · 0.80
buffer_and_orderFunction · 0.80
on_startMethod · 0.80
on_gradients_readyMethod · 0.80
DataReaderMethod · 0.80
QueuePairMethod · 0.80
read_oneMethod · 0.80
load_batchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected