Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
brpc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
brpc
Commits
419816df
Commit
419816df
authored
Jul 26, 2018
by
TousakaRin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete field Server::_concurrency
parent
b6a6c58e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
server.cpp
src/brpc/server.cpp
+1
-4
server.h
src/brpc/server.h
+0
-1
No files found.
src/brpc/server.cpp
View file @
419816df
...
...
@@ -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
()
{
...
...
src/brpc/server.h
View file @
419816df
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment