MCPcopy Create free account
hub / github.com/analogdevicesinc/scopy / enqueue

Method enqueue

iioutil/src/commandqueue.cpp:50–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void CommandQueue::enqueue(Command *command)
51{
52 m_enqueueMutex.lock();
53 m_commandQueue.push_back(command);
54 qDebug(CAT_COMMANDQUEUE) << "enqueued " << command << " " << m_commandQueue.size();
55 m_enqueueMutex.unlock();
56
57 if(!m_running) {
58 start();
59 }
60}
61
62void CommandQueue::start()
63{

Callers 15

runMethod · 0.80
runMethod · 0.80
createIioBufferMethod · 0.80
cancelIioBufferMethod · 0.80
destroyIioBufferMethod · 0.80
runBufferedMethod · 0.80
writeModeAttributeMethod · 0.80
readModeAttributeMethod · 0.80
runMethod · 0.80
writeTriggerDeviceMethod · 0.80

Calls 2

lockMethod · 0.45
unlockMethod · 0.45

Tested by 4

testResultsMethod · 0.64
testCommandOrderMethod · 0.64
testConnectionCmdQMethod · 0.64