[Zope3-Users] Reportlab threadsafe solution?

JPenny at ykksnap-america.com JPenny at ykksnap-america.com
Tue Sep 26 11:40:12 EDT 2006

One way is to use another tool.  If you look at it just right, lpr is a 
purpose job scheduler.  It checks a lock resource, and allows only one job
to acquire the lock, etc.

The best cookbook I can find to this idea is:

Your main problem then becomes how to efficiently detect that the 
spooled job is finished.

jim penny

zope3-users-bounces at zope.org wrote on 09/26/2006 09:14:11 AM:

> Hi
> I need to produce PDFs with reportlab.
> reportlab is not threadsafe. 
> I think I need a way to queue or generate a "lockfile" on requests for 
> PDFs so that only one-at-a-time is generated.
> I'm hoping that there is a utility for this already, but search in the 
> source for queue or serialize or lock gets me a lot of stuff that does 
> not seem to relate to what I want.
> This looks like it would be a relatively simple utility.  Has this been 
> done yet?  Any hints?
> -Jim Washington
> _______________________________________________
> Zope3-users mailing list
> Zope3-users at zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users

More information about the Zope3-users mailing list