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

Improve port API and update generic_unix socket_driver to use it #553

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

Conversation

pguyot
Copy link
Collaborator

@pguyot pguyot commented May 8, 2023

Add port_ensure_available_with_roots after memory_ensure_free_with_roots
Add several new port_send_* functions
Update port_send_reply to ensure memory is available
Document port_send_* functions
Use these new functions in generic_unix's socket_driver

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

Add `port_ensure_available_with_roots` after `memory_ensure_free_with_roots`
Add several new `port_send_*` functions
Update `port_send_reply` to ensure memory is available
Document `port_send_*` functions
Use these new functions in generic_unix's socket_driver

Signed-off-by: Paul Guyot <[email protected]>
@pguyot pguyot marked this pull request as draft May 13, 2023 21:32
@bettio bettio deleted the branch atomvm:main May 31, 2023 22:08
@bettio bettio closed this May 31, 2023
@bettio bettio reopened this May 31, 2023
@bettio bettio changed the base branch from feature/smp to master May 31, 2023 22:19
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.

2 participants