Skip to content

Conversation

alextwoods
Copy link
Owner

Description of changes:
See: alextwoods/aws-crt-python#1 for the required CRT binding changes.

Uses a pipe to coordinate non-blocking IO reads. The async task in python writes chunks from the requeset body to the write_fd of a pipe. The CRT's C code (running in its own internally managed event loop thread) will check for the read_fd attribute, and if available will use a blocking OS read without requiring the GIL.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@alextwoods alextwoods closed this Jul 17, 2025
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