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

[nif] Add support for enif_dist_ctrl_put_data #6887

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

potatosalad
Copy link
Contributor

This PR adds support for a enif_dist_ctrl_put_data function to the erl_nif.h API.

This effectively allows a NIF to ingest data with erts_net_message similar to how erlang:dist_ctrl_put_data/2 behaves.

Submitting as a draft diff for now to get initial feedback on the idea itself. Eventually, it would be nice to have NIF equivalents for things like enif_dist_ctrl_get_data (and possibly others in the future).

@github-actions
Copy link
Contributor

github-actions bot commented Feb 17, 2023

CT Test Results

       3 files     133 suites   51m 12s ⏱️
1 545 tests 1 494 ✔️ 51 💤 0
1 960 runs  1 890 ✔️ 70 💤 0

Results for commit 36b2bac.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@rickard-green rickard-green added the team:VM Assigned to OTP team VM label Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team:VM Assigned to OTP team VM
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants