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

Concurrent Usage #3

Open
diacc234 opened this issue Oct 13, 2022 · 2 comments
Open

Concurrent Usage #3

diacc234 opened this issue Oct 13, 2022 · 2 comments

Comments

@diacc234
Copy link

Is a single *Stylesheet safe for re-use ?

Is it also safe to use the same instance between routines ?

@wamuir
Copy link
Owner

wamuir commented Oct 13, 2022

Is a single *Stylesheet safe for re-use ?

Yes.

Is it also safe to use the same instance between routines ?

I wouldn't assume so, at least not without synchronization. For instance I don't believe that libxml2 and libxslt are necessarily threadsafe themselves (e.g., depending on version, depending on compile flags such as --with-threads for libxml2).

@diacc234
Copy link
Author

ok - thanks for looking; appreciate the quick response.

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