In article <5a744bd6-6b9a-4f46-97c1-bb7fd65b8...@l5g2000pra.googlegroups.com>,
Michael Mossey wrote:
>
>I have a simple application that needs one thread to manage networking
>in addition to the main "thread" that does the main job. It's not
>working right. I know hardly anything about threads, s
On Aug 7, 5:03 pm, Piet van Oostrum wrote:
> > Michael Mossey (MM) wrote:
> >MM> Ah yes, that explains it. Some of these long computations are done in
> >MM> pure C, so I'm sure the GIL is not being released.
>
> Is that C code under your own control? Or at least the glue from Python
> to C?
> Michael Mossey (MM) wrote:
>MM> Ah yes, that explains it. Some of these long computations are done in
>MM> pure C, so I'm sure the GIL is not being released.
Is that C code under your own control? Or at least the glue from Python
to C? In that case, and if the C code is not manipulating Py
Michael Mossey wrote:
Hello,
I have a simple application that needs one thread to manage networking
in addition to the main "thread" that does the main job. It's not
working right. I know hardly anything about threads, so I was hoping
someone could point me in the right direction to research thi
On Friday 07 August 2009 05:02:10 Michael Mossey wrote:
> Hello,
> My problem is that in some cases, the network thread appears to stop,
> while the main thread is doing a long computation.
Is this computation done in pure python or are you calling some
underlying thing in C?
I would be surprise
Ah yes, that explains it. Some of these long computations are done in
pure C, so I'm sure the GIL is not being released.
Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
Hallo Michael,
> I have a simple application that needs one thread to manage networking
> in addition to the main "thread" that does the main job. It's not
> working right. I know hardly anything about threads, so I was hoping
> someone could point me in the right direction to research this.
>
> B
Hello,
I have a simple application that needs one thread to manage networking
in addition to the main "thread" that does the main job. It's not
working right. I know hardly anything about threads, so I was hoping
someone could point me in the right direction to research this.
Basically, I have a