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

add parallelism disabling hook for CpgPass #1748

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

bbrehm
Copy link
Contributor

@bbrehm bbrehm commented Dec 1, 2023

This is inspired by joernio/joern#3874

In order to parallelize a pass, it is useful during development to be able to use the ForkJoinParallelCpgPass framework, but without actually parallelizing. Hence this new hook: Do the big code changes for parallelization, but then make it configurable so that only a single line needs to be reverted in case of race conditions.

@bbrehm bbrehm merged commit f6ea610 into master Dec 1, 2023
1 check passed
@delete-merged-branch delete-merged-branch bot deleted the bbrehm/CpgPassDisableParallelism branch December 1, 2023 12:34
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.

2 participants