Is GroupDocs.Conversion for .NET ThreadSafe?
The general answer is no. But could you please share more details? What kind/level of thread safety is needed?
I want to convert a larger number of Documents at the same time in one process. Therefore I need to know if the calls
using (Converter converter = new Converter(documentPath))
{
PdfConvertOptions convertOptions = new PdfConvertOptions();
converter.Convert(outputPath, convertOptions);
}
are thread safe, so that I can call them in different Threads.
1 Like
We are investigating this scenario. Your investigation ticket ID is CONVERSIONNET-5418.
It’s better to execute the code/snippet (from your sample) in each thread. The converter object is lightweight and do not spent much time during construction.