Lawrence D’Oliveiro wrote:
I naturally concluded that you didn’t care about
updates being momentarily held up by a web request in progress--which would
happen anyway if you used threads, at least with CPython.

Not necessarily -- the web processing is probably I/O bound,
in which case the GIL will likely be released a lot of the time.

But if you want to be sure the GIL won't get in the way,
you would need to run the web and update tasks in separate
processes.

--
Greg
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to