Threads vs Processes

Gerhard Fiedler gelists at gmail.com
Wed Jul 26 20:19:13 EDT 2006


On 2006-07-26 21:02:59, John Henry wrote:

> Granted.  Threaded program forces you to think and design your
> application much more carefully (to avoid race conditions, dead-locks,
> ...) but there is nothing inherently *non-robust* about threaded
> applications.

You just need to make sure that every piece of code you're using is
thread-safe. While OTOH to make sure they are all "process safe" is the job
of the OS, so to speak :)

Gerhard




More information about the Python-list mailing list