Skip to content

impl Clone for RouterSendHalf#235

Merged
Alexei-Kornienko merged 2 commits intozeromq:masterfrom
BugenZhao:bz/router-send-half-clone
Apr 1, 2026
Merged

impl Clone for RouterSendHalf#235
Alexei-Kornienko merged 2 commits intozeromq:masterfrom
BugenZhao:bz/router-send-half-clone

Conversation

@BugenZhao
Copy link
Copy Markdown
Contributor

Expose Clone for RouterSendHalf so callers can share the send half across tasks without adding an extra mutex layer.

Also add router split tests covering:

  • RouterSendHalf: Clone
  • concurrent sends from two cloned RouterSendHalfs to the same dealer

Signed-off-by: Bugen Zhao <[email protected]>
@Alexei-Kornienko
Copy link
Copy Markdown
Collaborator

LGTM

@Alexei-Kornienko Alexei-Kornienko merged commit 808ceb6 into zeromq:master Apr 1, 2026
3 checks passed
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.

3 participants