Commit 419816df authored by TousakaRin's avatar TousakaRin

delete field Server::_concurrency

parent b6a6c58e
......@@ -382,10 +382,7 @@ Server::Server(ProfilerLinker)
, _last_start_time(0)
, _derivative_thread(INVALID_BTHREAD)
, _keytable_pool(NULL)
, _cl(NULL)
, _concurrency(0) {
BAIDU_CASSERT(offsetof(Server, _concurrency) % 64 == 0,
Server_concurrency_must_be_aligned_by_cacheline);
, _cl(NULL) {
}
Server::~Server() {
......
......@@ -660,7 +660,6 @@ friend class Controller;
// mechanism
mutable bvar::Adder<int64_t> _nerror;
ConcurrencyLimiter* _cl;
mutable int32_t BAIDU_CACHELINE_ALIGNMENT _concurrency;
};
// Get the data attached to current searching thread. The data is created by
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment