Skip to content

Allow split borrow of QueuePair, to make it possible to hold PostSendGuard and PostRecvGuard at the same time #37

Description

@dragonJACson

In the original C API, user could actually post_send and post_recv for a single QP at the same time (on different threads), but current implementation of PostSendGuard and PostRecvGuard won't allow us to do that, we need an implementation that provides split_mut to borrow a part of the QueuePair.

Activity

  1. dragonJACson commented on Nov 17, 2024

    @dragonJACson
    ContributorAuthor

    Look into this library, maybe a possible solution: https://github.com/wdanilo/borrow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions