mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-08 21:37:02 +00:00
MarkdownPipelineBuilder thread safe? #67
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SimonCropp on GitHub (Nov 11, 2016).
so a MarkdownPipeline is not thread safe. but is a MarkdownPipelineBuilder thread safe?
@xoofx commented on GitHub (Nov 11, 2016):
The MarkdownPipeline should be thread safe, the builder is not (and will unlikely be)
also, why are you looking for a builder to be thread safe? Because order of using the builder can have an impact typically, so it is not really meant for concurrent access...
@xoofx commented on GitHub (Nov 11, 2016):
Note that when I say that
MarkdownPipelineis thread safe, it is thread safe for normal usage 😅 Manipulating indirectly the parsers registered to the pipeline (changing some properties...etc.) will not be thread safe. But if you use theMarkdownPipelineBuilderAPI in a regular way, you should not have any problems.