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
eb8217bb
Commit
eb8217bb
authored
Mar 29, 2012
by
Pieter Hintjens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed zmq_init(-1) issue
parent
cecc790c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
zmq.cpp
src/zmq.cpp
+7
-3
No files found.
src/zmq.cpp
View file @
eb8217bb
...
...
@@ -210,9 +210,13 @@ int zmq_ctx_get (void *ctx_, int option_)
void
*
zmq_init
(
int
io_threads_
)
{
void
*
ctx
=
zmq_ctx_new
();
zmq_ctx_set
(
ctx
,
ZMQ_IO_THREADS
,
io_threads_
);
return
ctx
;
if
(
io_threads_
>=
0
)
{
void
*
ctx
=
zmq_ctx_new
();
zmq_ctx_set
(
ctx
,
ZMQ_IO_THREADS
,
io_threads_
);
return
ctx
;
}
errno
=
EINVAL
;
return
NULL
;
}
int
zmq_term
(
void
*
ctx_
)
...
...
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