Dennis Lee Bieber wrote:
> On Sat, 22 Jul 2006 17:19:22 +1200, Lawrence D'Oliveiro
> <[EMAIL PROTECTED]> declaimed the following in
> comp.lang.python:
>
>>
>> Perhaps because with threads, data is shared by default. Whereas with
>> processes, it is private by default, and needs to be explicitly
On 2006-07-22, Lawrence D'Oliveiro <[EMAIL PROTECTED]> 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 th
In message <[EMAIL PROTECTED]>, Dennis Lee Bieber
wrote:
> On Sat, 22 Jul 2006 17:19:22 +1200, Lawrence D'Oliveiro
> <[EMAIL PROTECTED]> declaimed the following in
> comp.lang.python:
>
>>
>> Perhaps because with threads, data is shared by default. Whereas with
>> processes, it is private by def
In message <[EMAIL PROTECTED]>, Grant Edwards wrote:
> On 2006-07-21, Lawrence D'Oliveiro <[EMAIL PROTECTED]>
> wrote:
>> In message <[EMAIL PROTECTED]>, gel
>> wrote:
>>
>>> I am attempting to understand threads to use in a network app which I
>>> am writing.
>>
>> It is written, somewhere in the
On 2006-07-21, Lawrence D'Oliveiro <[EMAIL PROTECTED]> wrote:
> In message <[EMAIL PROTECTED]>, gel
> wrote:
>
>> I am attempting to understand threads to use in a network app which I
>> am writing.
>
> It is written, somewhere in the philosophy of *nix programming, that threads
> are a performance
In message <[EMAIL PROTECTED]>, gel
wrote:
> I am attempting to understand threads to use in a network app which I
> am writing.
It is written, somewhere in the philosophy of *nix programming, that threads
are a performance hack, to be avoided wherever possible. Use processes in
preference to thr
Hi
I think the answer to your last question is that the threading module provides a high level interface (i.e. easier to use) to the thread module. The thread module is very low-level. Any threaded python scripts I have written (not expert) have used the threading module which is, in my opini
Dennis Lee Bieber wrote:
> On 19 Jul 2006 19:08:12 -0700, "gel" <[EMAIL PROTECTED]> declaimed the
> following in comp.lang.python:
>
> > import thread
> >
> Step one... Skip the thread module and use threading module instead.
>
> > def create():
> >
> > pythoncom.CoInitialize()
> >