[Zope3-Users] Re: Reportlab threadsafe solution?

Philipp von Weitershausen philipp at weitershausen.de
Tue Sep 26 09:19:44 EDT 2006


Jim Washington wrote:
> Hi
> 
> I need to produce PDFs with reportlab.
> 
> reportlab is not threadsafe. 
> (http://two.pairlist.net/pipermail/reportlab-users/2006-June/005037.html)
> 
> 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?

You may want to look at zc.queue: 
http://svn.zope.org/zc.queue/trunk/src/zc/queue/queue.txt?rev=67933&view=auto



More information about the Zope3-users mailing list