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

First steps towards a Proof-of-Concept for analyzing threadpools #1180

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

michael-schwarz
Copy link
Member

Since we constantly talk about it (today again in Munich), and I started thinking about it on the subway, I spent a few minutes implementing a Proof-of-Concept of the first part of an analysis:

In it's current state it can determine that pthread_join has been called for all members of an array, by lugging around a boolean and employing the partitioned array domain.

The other piece that is missing is an analysis that shows that all created threads of a given abstract thread id is indeed contained in the array.

After we have this, we would be able to handle thread pools of constant size.

This is not meant to be merged, but as a simple Proof-of-Concept that anyone is free to adopt and develop into a proper analysis.

@jerhard
Copy link
Member

jerhard commented Jul 23, 2024

Close this for now. Future investigations on handling of thread pools may build up on this.

@jerhard jerhard closed this Jul 23, 2024
@michael-schwarz
Copy link
Member Author

Since we discussed this again at the Gobcon, I re-open this now.

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