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
dc945998
Commit
dc945998
authored
Jan 28, 2016
by
somdoron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
missing virtual modifier or session_base
parent
16f1be9d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
Makefile.am
Makefile.am
+2
-1
session_base.hpp
src/session_base.hpp
+2
-2
test_req_relaxed.cpp
tests/test_req_relaxed.cpp
+4
-0
No files found.
Makefile.am
View file @
dc945998
...
...
@@ -708,7 +708,8 @@ check_PROGRAMS = ${test_apps}
# Run the test cases
TESTS
=
$(test_apps)
XFAIL_TESTS
=
XFAIL_TESTS
=
tests/test_req_correlate
\
tests/test_req_relaxed
if
!ON_LINUX
XFAIL_TESTS
+=
tests/test_abstract_ipc
...
...
src/session_base.hpp
View file @
dc945998
...
...
@@ -76,7 +76,7 @@ namespace zmq
// Delivers a message. Returns 0 if successful; -1 otherwise.
// The function takes ownership of the message.
int
push_msg
(
msg_t
*
msg_
);
virtual
int
push_msg
(
msg_t
*
msg_
);
int
zap_connect
();
bool
zap_enabled
();
...
...
@@ -84,7 +84,7 @@ namespace zmq
// Fetches a message. Returns 0 if successful; -1 otherwise.
// The caller is responsible for freeing the message when no
// longer used.
int
pull_msg
(
msg_t
*
msg_
);
virtual
int
pull_msg
(
msg_t
*
msg_
);
// Receives message from ZAP socket.
// Returns 0 on success; -1 otherwise.
...
...
tests/test_req_relaxed.cpp
View file @
dc945998
...
...
@@ -45,6 +45,10 @@ int main (void)
rc
=
zmq_setsockopt
(
req
,
ZMQ_REQ_CORRELATE
,
&
enabled
,
sizeof
(
int
));
assert
(
rc
==
0
);
int
rcvtimeo
=
100
;
rc
=
zmq_setsockopt
(
req
,
ZMQ_RCVTIMEO
,
&
rcvtimeo
,
sizeof
(
int
));
assert
(
rc
==
0
);
rc
=
zmq_bind
(
req
,
"tcp://127.0.0.1:5555"
);
assert
(
rc
==
0
);
...
...
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