Goal
Provide genuinely safe multi-threaded rendering via a pool of Pdfium instances. Verify all types are !Send.
Tasks
Exit Criterion
Parallel rendering works correctly under rayon with no data races (run under Miri and/or ThreadSanitizer).
Dependencies
Goal
Provide genuinely safe multi-threaded rendering via a pool of Pdfium instances. Verify all types are
!Send.Tasks
!Sendand!Sync(no accidental auto-trait impls)PdfiumSourceenum (Path, System, Static, Bundled)PdfiumPool: create NPdfiuminstances,Mutex-wrapped, semaphore-gatedwith()methodexamples/parallel_render.rsExit Criterion
Parallel rendering works correctly under rayon with no data races (run under Miri and/or ThreadSanitizer).
Dependencies