PDF Generating Tool Support Forum

HOME   Login   Register    Search

  Subject: Is PD4ML thread-safe?
   PostPosted: 30 May 2009, 22:53 
PD4ML objects access any resource (shared image and font cache, for example) by thread-safe way. But PD4ML instance is not re-enterant: you may not use a single PD4ML object simultaneously from multiple threads.

If you need to run multiple HTML-to-PDF conversions in parallel, you need to create a separate PD4ML instance per converting thread.

The safest practice would be to delete PD4ML instance after each HTML-to-PDF conversion and create a new object when needed.

[Reply]     [ 1 post ] 

Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share