0

We are currently using iTextSharp, version 5.5.13. Given that there is a notice that engineers are here on StackOverflow answering questions, riddle me this - is iTextSharp thread-safe? If iTextSharp 5.5 isn't safe, is iText7 thread-safe?

I can work to finding a MVP to prove it out but was hoping to hear from an engineer if this was a design-wise thought and its built into the framework.

reZach
  • 8,945
  • 12
  • 51
  • 97
  • 1
    What exactly do you mean? Are you planning to have multiple threads operating on different pdfs or on the same one? Obviously multiple threads writing to the same document likely will fail while multiple threads operating on distinct documents will likely work (given enough memory). – mkl Jun 30 '20 at 15:48
  • @mkl I am looking to create multiple documents in parallel. – reZach Jul 01 '20 at 00:29
  • 1
    If you keep the documents you create in parallel separated, there shouldn't be a problem as long as you have sufficient resources, in particular memory. – mkl Jul 01 '20 at 01:00
  • 1
    FYI: mkl is not an iText engineer but he's one of our most valued users and his knowledge and experience with iText and with the PDF standard is on par with even the most senior engineers at iText Software. – Amedee Van Gasse Jul 01 '20 at 06:41

0 Answers0