Re: [Podofo-users] Thread safety

2018-01-26 Thread Dominik Seichter via Podofo-users
Hi Michall, Sorry for the terribly late reply to your email. I replaced the static arrays with local variables which is totally fine for these case: https://sourceforge.net/p/podofo/code/1875/ The invalid double checked locking for singletons needs a separate fix though. Best regards, Dominik

[Podofo-users] Thread safety

2017-06-27 Thread Michal Sudolsky
Hi, There are many initialised static local variables which is thread-safe only in C++11 and above what is ok. What is not ok is that there are two class member static variables which are initialised lazily in some member function. These cases are definitely not thread-safe. There should be mutex

[Podofo-users] Thread safety

2013-07-11 Thread Mocanu Lucian
Hello  I'm having multiple issues here: I'm watermarking multiple files in multiple threads (with encryption). Helgrind reports issues here: -document read/write ->PDFEncryptRC4Base->RC4 -createfont, setfontsize -> it's almost logic here that the font is from the cache but shouldn't every "copy" h

Re: [Podofo-users] Thread safety.

2011-04-01 Thread Dominik Seichter
Hi, Working with different PdfMemDocuments in different threads should be no problem. Sharing one PdfMemDocument among different threads is not supported. Regards, Dom On Thu, Mar 31, 2011 at 3:00 PM, adrian roney wrote: > Hi. > > I am in the process of selecting a PDF library for an android

[Podofo-users] Thread safety.

2011-04-01 Thread adrian roney
Hi. I am in the process of selecting a PDF library for an android app I am working on. My question is. Is podofo thread safe? I.e can I read more than one file at a time with it?, and can I read data from more than one page from within the document on different threads?. Thanks Adrian. ---