[poppler] RFC: upstream optional threading support in pdftoppm for simple testing

Albert Astals Cid aacid at kde.org
Sat Apr 6 08:14:24 PDT 2013


El Divendres, 5 d'abril de 2013, a les 21:43:28, Adam Reichold va escriure:
> Hello again,
> 
> I was a bit in a rush at the first try. Sorry for that, I tidied it up
> slightly.

Maybe we should rename from UTILS_USE_THREAD to UTILS_USE_PTHREAD ?

Or add a comment somewhere that we only support pthreads for now somewhere?

Besides that it looks ok-ish in a quick look.

Anyone has a comment?

Cheers,
  Albert

> 
> Best regards, Adam.
> 
> Am 05.04.2013 19:27, schrieb Adam Reichold:
> > Hello everyone,
> > 
> > To make it easier for us to test changes w.r.t. to threading, I would
> > propose to commit a simple implementation of threading in 'pdftoppm' to
> > master.
> > 
> > The attached patch contains a very simple implementation that is not
> > focused on maximal performance but should suffice to stress the locking
> > inside Poppler's core. I opted to implement only the POSIX approach
> > since I suppose POSIX systems are where most of us test and the code is
> > hopefully simple and short enough not become a maintenance burden.
> > 
> > What do you think?
> > 
> > Best regards, Adam.
> > 
> > 
> > 
> > _______________________________________________
> > poppler mailing list
> > poppler at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/poppler


More information about the poppler mailing list