Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sgxwallet
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董子豪
sgxwallet
Commits
597ecc4d
Unverified
Commit
597ecc4d
authored
Sep 09, 2021
by
kladko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SKALE-4586 Added concurrentqueue
parent
acbb854d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
ZMQServer.cpp
zmq_src/ZMQServer.cpp
+3
-3
ZMQServer.h
zmq_src/ZMQServer.h
+1
-1
No files found.
zmq_src/ZMQServer.cpp
View file @
597ecc4d
...
...
@@ -179,7 +179,7 @@ void ZMQServer::checkForExit() {
}
PollResult
ZMQServer
::
poll
()
{
PollResult
ZMQServer
::
poll
IncomingAndSendOutgoing
()
{
zmq_pollitem_t
items
[
1
];
items
[
0
].
socket
=
*
socket
;
items
[
0
].
events
=
ZMQ_POLLIN
;
...
...
@@ -289,7 +289,7 @@ void ZMQServer::doOneServerLoop() {
uint64_t
index
=
0
;
if
((
dynamic_pointer_cast
<
BLSSignReqMessage
>
(
msg
)
!=
nullptr
)
||
if
((
dynamic_pointer_cast
<
BLSSignReqMessage
>
(
msg
))
||
dynamic_pointer_cast
<
ECDSASignReqMessage
>
(
msg
))
{
boost
::
hash
<
std
::
string
>
string_hash
;
...
...
@@ -386,5 +386,5 @@ void ZMQServer::workerThreadMessageProcessLoop(ZMQServer *_agent, uint64_t _thre
}
}
spdlog
::
info
(
"Exit requested. Exiting worker thread
."
);
spdlog
::
info
(
"Exit requested. Exiting worker thread
:"
+
to_string
(
_threadNumber
)
);
}
\ No newline at end of file
zmq_src/ZMQServer.h
View file @
597ecc4d
...
...
@@ -91,7 +91,7 @@ public:
void
checkForExit
();
PollResult
poll
();
PollResult
poll
IncomingAndSendOutGoing
();
pair
<
string
,
shared_ptr
<
zmq
::
message_t
>>
receiveMessage
();
...
...
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