Lines Matching refs:call
21 * \brief Cross-thread function call dispatcher.
62 Call* call = DE_NULL;
64 // Wait for a call.
70 // Acquire call from buffer.
73 call = m_callQueue.popBack();
78 // \note Enqueue lock is not held during call so it is possible to enqueue more work from dispatched call.
79 CallReader reader(call);
81 call->getFunction()(reader);
85 call->clear();
91 // Try to push call into free calls list.
93 m_freeCalls.push_back(call);
106 m_freeCalls.push_back(call);
113 Call* call = DE_NULL;
118 call = m_freeCalls.back();
123 if (!call)
126 call = new Call();
127 m_calls.push_back(call);
130 return call;
133 void CallQueue::enqueue (Call* call)
143 m_callQueue.pushFront(call);
147 void CallQueue::freeCall (Call* call)
150 m_freeCalls.push_back(call);
172 CallReader::CallReader (Call* call)
173 : m_call (call)