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

is veraPDF Processor API thread safe #1037

Closed
FabianHamm opened this issue Aug 7, 2019 · 2 comments
Closed

is veraPDF Processor API thread safe #1037

FabianHamm opened this issue Aug 7, 2019 · 2 comments

Comments

@FabianHamm
Copy link

In the release notes i read that verapdf cli application supports multi threading. But what about the veraPDF Processor API? Does it still rely on static "containers" / members or can i startup multiple threads?

@bdoubrov
Copy link
Contributor

bdoubrov commented Aug 8, 2019

Starting from version 1.12 veraPDF Processor API doesn't use static containers anymore. It does however use thread local containers for caching some data. This means that one can safely use the the API in multiple parallel threads assuming that each thread processes a single PDF document at a time.

@FabianHamm
Copy link
Author

Thank you very much Boris. I am closing the issue.

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

No branches or pull requests

2 participants