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

Threading support #10

Open
dwarring opened this issue May 19, 2022 · 2 comments
Open

Threading support #10

dwarring opened this issue May 19, 2022 · 2 comments

Comments

@dwarring
Copy link
Contributor

There's no attempt or tests for thread safety yet.

PDF now has early support for multi-threaded page construction.

This library could possibly support thread-safe fragments that can be composed concurrently for final sequential assembly, along with the pages.

dwarring added a commit that referenced this issue May 19, 2022
adding fragments. no attempt to make them thread-safe. t/threads.t currently
failing in various ways.
@dwarring
Copy link
Contributor Author

In place with PDF::Tags release 0.1.2. A bit more testing/use in the field needed.

@dwarring
Copy link
Contributor Author

Sort of working, however t/threads.t currently produces an unstable /ParentTree ordering and /StructParents links back to the parent tree.

Ideally, this should be stable, if this can be achieved without significant concurrency bottleneck.

We'd need to somehow defer final construction of these for final sequential allocation.

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

1 participant