python C-api and thread
Barry Scott
barry at barrys-emacs.org
Tue Aug 6 16:12:46 EDT 2024
> On 6 Aug 2024, at 07:11, aotto1968 via Python-list <python-list at python.org> wrote:
>
> I know but I use a thread like a process because the "conversation" between the threads is done by my
> software. a Thread is usually faster to startup (thread-pool) this mean for high-load this is
> significant faster even than fork.
using processes means you are more robust and can survive a process crash.
using async, assuming you do enough I/O, will out perform threads.
Barry
More information about the Python-list
mailing list