Skip to content

Resolving cross references in Worker Threads #1349

Closed Answered by msujew
vibsid0986 asked this question in Q&A
Discussion options

You must be logged in to vote

Since workers don't share memory, documents loaded in one worker/thread cannot be accessed by any other thread. If you need access to the whole workspace in the worker, loading it via initializeWorkspace is recommended.

obviating the need to traverse each stage of the document lifecycle individually

Note that each document is still going through each step of the document lifecycle via the DocumentBuilder. There's no real way to prevent this (nor would that be advisable).

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@vibsid0986
Comment options

@msujew
Comment options

@vibsid0986
Comment options

@msujew
Comment options

Answer selected by msujew
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants