Thread Safety

302 views
Skip to first unread message

Christopher Gilling

unread,
Dec 11, 2015, 5:33:21 PM12/11/15
to pdfium
I tried looking around and couldn't really find any information around pdfium being thread safe. One message from a year ago someone gave a short response saying that its definitely not. Are there any plans to make it thread safe? Is there any estimate about how much work it would be to enable concurrent use of the library?

Lei Zhang

unread,
Dec 11, 2015, 6:12:39 PM12/11/15
to Christopher Gilling, pdfium
AFAICT, PDFium is single threaded. If you have lots of PDFs to
process, you can run multiple processes to speed things up. PDFium's
testing/tools/run_corpus_tests.py is an example of that.
> --
> You received this message because you are subscribed to the Google Groups
> "pdfium" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pdfium+un...@googlegroups.com.
> To post to this group, send email to pdf...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pdfium/ea440ab3-fb4e-4f5d-85f8-79c15bca3881%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages