[Twisted-Python] mutexes in twisted.enterprise?
andrew-twisted at puzzling.org
Thu Apr 18 21:04:10 EDT 2002
On Thu, Apr 18, 2002 at 08:49:41PM -0400, Bob Ippolito wrote:
> I'm doing some twisted.enterprise crap and I was wondering if it was
> safe to use thread mutexes to make sure that only one interaction goes
> at a time? I have some queries that shouldn't run in parallel under
> certain conditions and I believe forcing it w/ mutexes would be the
> safest and easiest solution... but I haven't looked much into what's
> going on under the hood and I'm wondering if it'll do Very Bad Things?
Interactions all run inside a db transaction, I think (someone please
correct me if I'm wrong). So if your DB supports transactions, then you
should be fine already. I'm presuming that by "interaction" you mean
> I'm using Twisted 0.15.2, I believe.. I don't want to upgrade at the
> moment because it's in testing for a few weeks.
So already we have legacy systems to support :)
I'm not aware of any significant changes to twisted.enterprise since
More information about the Twisted-Python