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

Method push_locked

src/bthread/remote_task_queue.h:68–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 }
67
68 bool push_locked(bthread_t task) {
69 return _tasks.push(task);
70 }
71
72 size_t capacity() const { return _tasks.capacity(); }
73

Callers 1

ready_to_run_remoteMethod · 0.80

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected