Timed execution in eval
castironpi at gmail.com
castironpi at gmail.com
Sun Mar 9 21:29:39 EDT 2008
> Write the docs:
>
> > when two threads simultaneously increment the reference count of the same object
>
> Well, the example sucked. Just synchronize ref count manipulation.
> Every OS has locking primitives, and a library exists to deny requests
> to block that lock dead. How integral is the GIL to Python?
>
> > The Python interpreter is not fully thread safe
>
> Make it so.
Per-thread reference counts do the trick.
More information about the Python-list
mailing list