gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam R. B. Jack" <>
Subject Re: Multithreading the updates
Date Tue, 06 Jul 2004 15:26:57 GMT
> The code doesn't appear to be breaking (despite Python not locking in base
> classes like lists, and the Gump code not locking all that it might). I
> tried doing a Google search for locking in Python, and really found little
> "street wise" information. I found some updates from a Mr Stein (a gent,
> a gazillion miles from ASF ;-) but little that really told me what the
> are w/ running large pieces of Python in separate threads. I guess we suck
> it and see.

We'll sucked ... and it sucked. ;-) Something was not playing nicely.

I believe the issue is likely to do with the fact that to launch a new
executable (CVS|SVN or whatever) Python Gump currently uses process global
CD and process global ENV modifications, then spawn's via system(). Clearly
that this is not thread safe. Basically I've always hated this portion of
the code, just never had chance/incentive to re-write it to those complex
alternatives. This might be the time.

Just giving a heads up as to why I disabled threads on the JDK1.5 and
gump.try servers...



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message