Get # of worker threads.
| 71 | |
| 72 | // Get # of worker threads. |
| 73 | int concurrency() const |
| 74 | { return _concurrency.load(butil::memory_order_acquire); } |
| 75 | |
| 76 | int concurrency(bthread_tag_t tag) const |
| 77 | { return _tagged_ngroup[tag].load(butil::memory_order_acquire); } |