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

Fix send_all on eio #132

Merged
merged 3 commits into from
May 19, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions zmq-eio/src/socket.ml
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,10 @@ let send_msg t message =
request t t.senders (fun () -> Zmq.Socket.send_msg ~block:false t.socket message)

let send_all t =
request t t.receivers (fun () -> Zmq.Socket.send_all ~block:false t.socket)
request t t.senders (fun () -> Zmq.Socket.send_all ~block:false t.socket)
ComanderP marked this conversation as resolved.
Show resolved Hide resolved

let send_msg_all t =
request t t.receivers (fun () -> Zmq.Socket.send_msg_all ~block:false t.socket)
request t t.senders (fun () -> Zmq.Socket.send_msg_all ~block:false t.socket)
ComanderP marked this conversation as resolved.
Show resolved Hide resolved

let recv t =
request t t.receivers (fun () -> Zmq.Socket.recv ~block:false t.socket)
Expand Down
Loading