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

Document if the classes are threadsafe. #83

Closed
DavidBiesack opened this issue Mar 10, 2017 · 3 comments
Closed

Document if the classes are threadsafe. #83

DavidBiesack opened this issue Mar 10, 2017 · 3 comments

Comments

@DavidBiesack
Copy link

Can a Parser or HtmlRenderer be used in a threaded environment - shared across threads?

@robinst
Copy link
Collaborator

robinst commented Mar 11, 2017

Yes it can! It takes care to use new state for each parse/render call. Although I should probably add tests for that and document it properly.

@DavidBiesack
Copy link
Author

Thanks, @robinst -- as suggested, please add a note about this in the README. Thanks!

@robinst
Copy link
Collaborator

robinst commented Aug 9, 2017

Added tests and a section to the README now, thanks for raising this!

@robinst robinst closed this as completed Aug 9, 2017
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