MarkdownPipelineBuilder thread safe? #67

Closed
opened 2026-01-29 14:24:45 +00:00 by claunia · 2 comments
Owner

Originally created by @SimonCropp on GitHub (Nov 11, 2016).

so a MarkdownPipeline is not thread safe. but is a MarkdownPipelineBuilder thread safe?

Originally created by @SimonCropp on GitHub (Nov 11, 2016). so a MarkdownPipeline is not thread safe. but is a MarkdownPipelineBuilder thread safe?
claunia added the question label 2026-01-29 14:24:45 +00:00
Author
Owner

@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): 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...
Author
Owner

@xoofx commented on GitHub (Nov 11, 2016):

Note that when I say that MarkdownPipeline is 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 the MarkdownPipelineBuilder API in a regular way, you should not have any problems.

@xoofx commented on GitHub (Nov 11, 2016): Note that when I say that `MarkdownPipeline` is 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 the `MarkdownPipelineBuilder` API in a regular way, you should not have any problems.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#67