Skip to content

[DRAFT] Generalized ThreadHierarchy & removed ScopeHierarchy #882

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

Open
wants to merge 5 commits into
base: development
Choose a base branch
from

Conversation

ThomasHaas
Copy link
Collaborator

No description provided.

@ThomasHaas
Copy link
Collaborator Author

Description: ThreadHierarchy is class that already existed and was used to define hierarchical scheduling. It was computed from the ScopeHierarchy associated to threads.
The idea now is to make ThreadHierarchy the canonical container for all threads in the program, i.e., Program directly manages a ThreadHierarchy. Whenever a Thread is added to the program, it will have to get inserted into the hierarchy.
The hierarchy has, by default, a root node with scope GLOBAL and a INIT node containing all init threads, even for CPU programs (LLVM/Litmus).

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.

1 participant