Re: [Zope3-Users] Re: Reportlab threadsafe solution?

2006-09-27 Thread Chris Withers
Chris McDonough wrote: Why not just use a mutex (a recursive lock makes things easier too)? Yeah, Big Fat Lock has been my solution with Reportlab, worked well under high load for several years. I don't use RLocks myself, paranoia says they're not big or fat enough ;-) Chris -- Simplistix

Re: [Zope3-Users] Re: Reportlab threadsafe solution?

2006-09-26 Thread Chris McDonough
Why not just use a mutex (a recursive lock makes things easier too)? lock = threading.RLock() lock.acquire() try: ... finally: lock.release() On Sep 26, 2006, at 9:19 AM, Philipp von Weitershausen wrote: Jim Washington wrote: Hi I need to produce PDFs with reportlab. reportlab is not