Skip to content

pthread structs future-proofing#1678

Draft
no92 wants to merge 2 commits into
managarm:masterfrom
no92:pthread-revisions
Draft

pthread structs future-proofing#1678
no92 wants to merge 2 commits into
managarm:masterfrom
no92:pthread-revisions

Conversation

@no92

@no92 no92 commented Feb 16, 2026

Copy link
Copy Markdown
Member

This would allow for future expansion of the structs to accomodate possible additions, e.g. in POSIX, without breaking backwards compatability. Adding a new field would bump the revision of the affected struct. The new fields would then only be accessed if the revision matches.

@Dennisbonke Dennisbonke left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@no92

no92 commented Mar 18, 2026

Copy link
Copy Markdown
Member Author

The GHA CI failures need fixing but that shouldn't be hard.

no92 added 2 commits April 8, 2026 00:04
This would allow for future expansion of the structs to accomodate
possible additions, e.g. in POSIX, without breaking backwards
compatability. Adding a new field would bump the revision of the
affected struct. The new fields would then only be accessed if the
revision matches.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants