Future of Pypy?

Marko Rauhamaa marko at pacujo.net
Tue Feb 24 03:12:12 EST 2015


Paul Rubin <no.email at nospam.invalid>:

> Deadlocks and livelocks can happen in multi-process code just like
> with threads.

The main thing to avoid is to assume that writing can block until its
completion. At least one of the communicating parties must write in a
nonblocking manner and make sure it is always ready to read.

The remaining problem is flow control to prevent write buffer flooding.

All of that is easier to get right than the intricacies of
multithreading.


Marko



More information about the Python-list mailing list