16 Jul
2004
16 Jul
'04
5:34 p.m.
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, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax http://www.wecanstopspam.org/ AOL-IM: BKClements