MCPcopy Create free account
hub / github.com/apache/brpc / execution_queue_start

Function execution_queue_start

src/bthread/execution_queue_inl.h:351–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349
350template <typename T>
351inline int execution_queue_start(
352 ExecutionQueueId<T>* id,
353 const ExecutionQueueOptions* options,
354 int (*execute)(void* meta, TaskIterator<T>&),
355 void* meta) {
356 return ExecutionQueue<T>::create(id, options, execute, meta);
357}
358
359template <typename T>
360typename ExecutionQueue<T>::scoped_ptr_t

Callers 15

test_single_threadFunction · 0.85
test_rvalueFunction · 0.85
test_performanceFunction · 0.85
test_execute_urgentFunction · 0.85
test_in_place_taskFunction · 0.85
test_inplace_and_orderFunction · 0.85
test_cancelFunction · 0.85
test_cancel_selfFunction · 0.85
test_random_cancelFunction · 0.85

Calls

no outgoing calls

Tested by 14

test_single_threadFunction · 0.68
test_rvalueFunction · 0.68
test_performanceFunction · 0.68
test_execute_urgentFunction · 0.68
test_in_place_taskFunction · 0.68
test_inplace_and_orderFunction · 0.68
test_cancelFunction · 0.68
test_cancel_selfFunction · 0.68
test_random_cancelFunction · 0.68