Skip to content

Conversation

Timon-Kruiper
Copy link

This releases the Python GIL when calling the following functions:

  • rdma_get_request (CMID.get_request)
  • rdma_get_send_comp (CMID.get_send_comp)
  • rdma_get_recv_comp (CMID.get_recv_comp)

This allows the user to create a functional multithreaded Python application using the PyVerbs API.

This releases the Python GIL when calling the following functions:
- rdma_get_request (CMID.get_request)
- rdma_get_send_comp (CMID.get_send_comp)
- rdma_get_recv_comp (CMID.get_recv_comp)

This allows the user to create a functional multithreaded Python
application using the PyVerbs API.

Signed-off-by: Timon Kruiper <[email protected]>
@Timon-Kruiper
Copy link
Author

It would be useful if we can somehow get a list of all the blocking functions, such that I can update this PR to also release the GIL for those functions.

For my application I only needed to release the GIL for these functions, but I'm sure there are more blocking functions for which it makes sense to release the GIL.

It's not a blocker for this PR though.

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.

1 participant