On 16 Jul 2004 at 11:38, Andy Dustman wrote: > > Also, two threads can' t open a connection "at the same time" because > > their connection table management isn't "thread safe". > > That does suck, but it doesn't seem like an insurmountable problem for a > DA. You just need a per-DA instance mutex which you acquire before opening > a connection release afterwards.
Someone else said that every thread has it's own copy of ZODB, hence their own copies of each DA. So putting the mutex on the DA won't help this, will it? -- Brad Clements, [EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax http://www.wecanstopspam.org/ AOL-IM: BKClements _______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )