jkrukoff at ltgc.com
Tue Mar 2 23:08:43 CET 2010
On Tue, 2010-03-02 at 22:54 +0100, mk wrote:
> No need to use synchro primitives like locks?
> I know that it may work, but that strikes me as somehow wrong... I'm
> used to using things like Lock().acquire() and Lock().release() when
> accessing shared data structures, whatever they are.
This is one of those places where the GIL is a good thing, and makes
your life simpler. You could consider it that the interpreter does the
locking for you for such primitive operations, if you like.
John Krukoff <jkrukoff at ltgc.com>
Land Title Guarantee Company
More information about the Python-list