Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
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
libzmq
Commits
3ace2379
Commit
3ace2379
authored
Dec 10, 2019
by
Simon Giesecke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Removed unreachable code paths"
This reverts commit
4f77cfa3
.
parent
9b67fe8a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
signaler.cpp
src/signaler.cpp
+9
-4
No files found.
src/signaler.cpp
View file @
3ace2379
...
...
@@ -184,10 +184,15 @@ void zmq::signaler_t::send ()
errno_assert
(
sz
==
sizeof
(
inc
));
#elif defined ZMQ_HAVE_WINDOWS
unsigned
char
dummy
=
0
;
const
int
nbytes
=
::
send
(
_w
,
reinterpret_cast
<
char
*>
(
&
dummy
),
sizeof
(
dummy
),
0
);
wsa_assert
(
nbytes
!=
SOCKET_ERROR
);
zmq_assert
(
nbytes
==
sizeof
(
dummy
));
while
(
true
)
{
int
nbytes
=
::
send
(
_w
,
reinterpret_cast
<
char
*>
(
&
dummy
),
sizeof
(
dummy
),
0
);
wsa_assert
(
nbytes
!=
SOCKET_ERROR
);
if
(
unlikely
(
nbytes
==
SOCKET_ERROR
))
continue
;
zmq_assert
(
nbytes
==
sizeof
(
dummy
));
break
;
}
#elif defined ZMQ_HAVE_VXWORKS
unsigned
char
dummy
=
0
;
while
(
true
)
{
...
...
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