Skip to content

Conversation

@mariusae
Copy link
Member

@mariusae mariusae commented Oct 24, 2025

Stack from ghstack (oldest at bottom):

HostMesh::fork provides a way to create a singleton host mesh from the current process. The process itself becomes the host manager, spawning procs using the current command, reaching HostMesh::fork itself.

This allows us to easily create new host meshes for examples, testing, etc.

This is then used to port the 'dining philosophers' example to the v1 API.

Differential Revision: D85476026

NOTE FOR REVIEWERS: This PR has internal Meta-specific changes or comments, please review them on Phabricator!

HostMesh::fork provides a way to create a singleton host mesh from the current process. The process itself becomes the host manager, spawning procs using the current command, reaching HostMesh::fork itself.

This allows us to easily create new host meshes for examples, testing, etc.

This is then used to port the 'dining philosophers' example to the v1 API.

Differential Revision: [D85476026](https://our.internmc.facebook.com/intern/diff/D85476026/)

**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D85476026/)!

[ghstack-poisoned]
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 24, 2025
… v1"

HostMesh::fork provides a way to create a singleton host mesh from the current process. The process itself becomes the host manager, spawning procs using the current command, reaching HostMesh::fork itself.

This allows us to easily create new host meshes for examples, testing, etc.

This is then used to port the 'dining philosophers' example to the v1 API.

Differential Revision: [D85476026](https://our.internmc.facebook.com/intern/diff/D85476026/)

**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D85476026/)!

[ghstack-poisoned]
… v1"

HostMesh::fork provides a way to create a singleton host mesh from the current process. The process itself becomes the host manager, spawning procs using the current command, reaching HostMesh::fork itself.

This allows us to easily create new host meshes for examples, testing, etc.

This is then used to port the 'dining philosophers' example to the v1 API.

Differential Revision: [D85476026](https://our.internmc.facebook.com/intern/diff/D85476026/)

**NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D85476026/)!

[ghstack-poisoned]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants