wwxxyx / pdfium

Automatically exported from code.google.com/p/pdfium
0 stars 0 forks source link

Multithread rasterizing different files #126

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Is it possible to implement multi-thread rasterizing different files?
I tried it, but it is crashing somewher inside library when calling method 
FPDF_RenderPageBitmap()

I found that library is using some global variables, so I think, if these can 
be moved into some structure and returned when called "Initialize library", and 
this structure should be passed into FPDF_DOCUMENT document once, from where 
every method requesting actual global variables would use variables from 
document object.

But I am not sure, whether it will work and now I do not have time to test it.

But, when I test it and it will work, would you implement changes inside pdfium 
library?

Original issue reported on code.google.com by martin.m...@gmail.com on 1 Mar 2015 at 8:29