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

Method is_queue_stopped

src/bthread/execution_queue.h:46–46  ·  view source on GitHub ↗

Returns true when the ExecutionQueue is stopped and there will never be more tasks and you can safely release all the related resources ever after.

Source from the content-addressed store, hash-verified

44 // more tasks and you can safely release all the related resources ever
45 // after.
46 bool is_queue_stopped() const { return _is_stopped; }
47 explicit operator bool() const;
48protected:
49 TaskIteratorBase(TaskNode* head, ExecutionQueueBase* queue,

Callers 8

addFunction · 0.80
add_with_suspendFunction · 0.80
check_running_threadFunction · 0.80
add_with_suspend2Function · 0.80
add_with_cancelFunction · 0.80
add_with_suspend3Function · 0.80
ConsumeMethod · 0.80

Calls

no outgoing calls

Tested by 7

addFunction · 0.64
add_with_suspendFunction · 0.64
check_running_threadFunction · 0.64
add_with_suspend2Function · 0.64
add_with_cancelFunction · 0.64
add_with_suspend3Function · 0.64