r: I understand that sanity, mutable global state and threads are
unlikely bedfellows and so promise never to try anything like this in
production code).
Cheers,
Kev
--
https://mail.python.org/mailman/listinfo/python-list
possibly do mess with locking, but before I advise that, I'd have to see what
you're trying to accomplish - toy examples are hard to mess with. Bear in mind
that simple code like this can't actually benefit from threads, as Python (or
at least, CPython) won't run two of t
o mess with locking, but before I advise that, I'd
have to see what you're trying to accomplish - toy examples are hard
to mess with. Bear in mind that simple code like this can't actually
benefit from threads, as Python (or at least, CPython) won't run two
of them at once
r: I understand that sanity, mutable global state and threads are
unlikely bedfellows and so promise never to try anything like this in
production code).
Cheers,
Kev
--
https://mail.python.org/mailman/listinfo/python-list