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

Distribution: Add support for external pid as group leader #1480

Merged

Conversation

pguyot
Copy link
Collaborator

@pguyot pguyot commented Jan 20, 2025

Continuation of #1468

  • Store group leader pid on the heap if it's an external pid
  • Introduce a specific signal to change group leader to an external pid as we cannot touch heap from another process
  • Add simple test based on rpc and BEAM

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

@pguyot pguyot changed the title Add support for external pid as group leader Distribution: Add support for external pid as group leader Jan 20, 2025
@pguyot pguyot force-pushed the w04/erlang-distribution-04 branch from 9c7f47c to f735720 Compare January 21, 2025 07:14
@pguyot pguyot changed the base branch from feature/distributed-erlang to main January 21, 2025 19:26
@pguyot pguyot changed the base branch from main to feature/distributed-erlang January 21, 2025 19:27
@pguyot pguyot marked this pull request as ready for review January 21, 2025 19:27
@bettio bettio merged commit 279c44a into atomvm:feature/distributed-erlang Jan 21, 2025
107 checks passed
@pguyot pguyot deleted the w04/erlang-distribution-04 branch January 21, 2025 23:13
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