Repository navigation
example: add multithreading example - #624
Merged
Merged
Conversation
dreamliner787-9
requested changes
Nov 16, 2026
dreamliner787-9
left a comment
Collaborator
There was a problem hiding this comment.
Hello, thank you for your contribution! A few comments from my side:
Collaborator
|
Could you please squash your changes into one commit and fix the gitlint, I don't think we can do anything about the link check though... |
Add an example demonstrating concurrency and shared-memory synchronization in Microkit using two Protection Domains. Both PDs map a shared memory region and increment a shared counter under a C11 stdatomic spinlock, verifying the final counter value on completion. Fixes seL4#602 Signed-off-by: Sadiqua Parween <falaksadiqua786@gmail.com>
Sadiqua-Parween
force-pushed
the
multithreading-example
branch
from
November 17, 2026 04:53
9e363da to
75f9f89
Compare
dreamliner787-9
approved these changes
Nov 19, 2026
Contributor
Author
|
Hi @dreamliner787-9 , just checking in on this. Looks like all CI checks are green and approval is in. Let me know if there's anything else needed from my side before it can be merged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds an example demonstrating multithreading and shared-memory synchronization in Microkit, as discussed in #602.
Summary
pd_aandpd_b) sharing a 4KB memory region.<stdatomic.h>) to implement anatomic_flagspinlock for mutual exclusion.README.md.Fixes #602