Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Thursday, November 12, 2009 11:53:10 AM(UTC)

jjohns  
jjohns

Groups: Registered
Posts: 6


I see forum posts indicating that the pdf plug-in is not thread safe in versions 13, 14 and 15.  Does this still apply to version 16.5?

My understanding is that the RasterImage object should be thread safe, at least from the prospective of opening image A in thread A, and image B in thread B.  If this does not apply to the pdf plugin then we have a serious problem.  We are currently trying to use LeadTools to open and modify pdfs in a web environment (inherently multi-threaded), so you can see why this is an issue.

Assuming this is the case, what are your plans for making it thread safe?

Joseph Johns

 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Friday, November 13, 2009 8:47:53 AM(UTC)

Walter  
Walter

Groups: Tech Support
Posts: 366

Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)

Hello Joseph,

The PDF Runtime in v16.5 is process safe in v16.5, but it is not thread safe. We are currently working on a solution to address this issue, but it appears at this time it will not be ready until LEADTOOLS v17 is released.

The work-around for this issue is to either create a critical section around the PDF loading or isolate the PDF loading into it's own process. An example of one of these work-arounds is in our multi-threaded OCR demo. It uses a critical section for specifically loading PDF files so the OCR engine can be used.
Walter Bates
Senior Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 
#3 Posted : Tuesday, December 28, 2010 6:35:52 AM(UTC)

Walter  
Walter

Groups: Tech Support
Posts: 366

Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)

Hello Joseph,

Please note that with the latest updates to the LEADTOOLS v17 SDK, the PDF engine is now thread-safe and the PDF runtime has been compressed down into one dll.

You can download the latest LEADTOOLS v17 evaluation/release to test this out for yourself through any of the product pages on our site.

For upgrade pricing/licensing, please contact our Sales team via email at Sales@leadtools.com

If you have any questions or concerns regarding this, please let us know.
Walter Bates
Senior Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.065 seconds.