Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem: jeromq is not thread-safe #783

Merged
merged 1 commit into from
May 8, 2020
Merged

Conversation

somdoron
Copy link
Member

@somdoron somdoron commented May 8, 2020

Solution: port CLIENT and SERVER sockets from libzmq, which are thread-safe sockets.

The thread-safe sockets family includes other sockets, which are not part of this commit.

Also, CLIENT and SERVER cannot be used with a poller at the moment. For poller support, zmq_poller from libzmq has to be ported as well.

@somdoron somdoron force-pushed the master branch 2 times, most recently from d8077ac to 5c4da28 Compare May 8, 2020 13:07
@somdoron somdoron changed the title problem: jeromq is not thread safe problem: jeromq is not thread-safe May 8, 2020
@somdoron somdoron force-pushed the master branch 5 times, most recently from a89ad97 to 9112c55 Compare May 8, 2020 13:37
@somdoron somdoron force-pushed the master branch 2 times, most recently from 102af47 to dbb1074 Compare May 8, 2020 13:52
@trevorbernard
Copy link
Member

Awesome stuff.. I'll check it out this evening.

src/main/java/zmq/MailboxSafe.java Outdated Show resolved Hide resolved
src/main/java/zmq/MailboxSafe.java Outdated Show resolved Hide resolved
Solution: port CLIENT and SERVER sockets from libzmq, which are thread-safe sockets.

The thread-safe sockets family includes other sockets, which are not part of this commit.

Also, CLIENT and SERVER cannot be used with a poller at the moment. For poller support, zmq_poller from libzmq has to be ported as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants