Re: [Webware-discuss] Class variables and thread safety

2003-06-12 Thread Travis Whitton
Concurrency issues can be difficult without a full context. But I think this will be a problem. Sorry for not providing enough information. Here are the relevant excerpts from my code: configuration.py: - from

[Webware-discuss] Class variables and thread safety

2003-06-11 Thread Travis Whitton
Hello all - I'm currently working on a project that uses Webware for the backend. I've setup a class hierarchy that has multiple children classes derived from a foundation class. The foundation class handles database connection pooling and other global operations. In order to allow transactions to

Re: [Webware-discuss] Class variables and thread safety

2003-06-11 Thread Travis Whitton
Concurrency issues can be difficult without a full context. But I think this will be a problem. Sorry for not providing enough information. Here are the relevant excerpts from my code: configuration.py: - from

Re: [Webware-discuss] Class variables and thread safety

2003-06-11 Thread Ian Bicking
On Wed, 2003-06-11 at 17:06, Travis Whitton wrote: If you want to use database-level transactions over several requests, you're probably going to want to keep the connection (with its associated transaction) in the session or something. But I don't! I only want to use it for a single