New to threads. How do they work?
Grant Edwards
grante at visi.com
Sat Jul 22 10:04:08 EDT 2006
On 2006-07-22, Lawrence D'Oliveiro <ldo at geek-central.gen.new_zealand> wrote:
>> I've never understood the aversion people seem to have to
>> threads.
>
> Perhaps because with threads, data is shared by default.
> Whereas with processes, it is private by default, and needs to
> be explicitly shared if you want that.
Only global data is shared. I guess if you use a lot of global
data that's an issue. I tend not to. The problem with
processes is that sharing data is hard.
--
Grant Edwards grante Yow! Are you mentally here
at at Pizza Hut??
visi.com
More information about the Python-list
mailing list