On 17 Feb, 02:53, Mamahita Sela wrote:
> Dear FB,
>
> > As you have been already told, join() blocks until the
> > thread is
> > terminated. and you should avoid that.
> > A simple fix could by add a timeout to t.join, doing
> > something like :
> > t.join(JOIN_TIMEOUT);
> > if not
Dear FB,
> As you have been already told, join() blocks until the
> thread is
> terminated. and you should avoid that.
> A simple fix could by add a timeout to t.join, doing
> something like :
> t.join(JOIN_TIMEOUT);
> if not t.isAlive():
> print t.result
>
Thanks for
On 16 Feb, 14:47, Mamahita Sela wrote:
> Dear All,
>
> I have read several howtos for threading in PyGTK. I have tried some but with
> no luck.
>
> What i want is: i can keep typing in gtk.TextView while periodically doing
> ping some hosts.
>
> I think, the thread part is working since i can pi
On Mon, 16 Feb 2009 05:47:22 -0800 (PST), Mamahita Sela
wrote:
Dear All,
I have read several howtos for threading in PyGTK. I have tried some but with
no luck.
What i want is: i can keep typing in gtk.TextView while periodically doing ping
some hosts.
You don't need threads for this. The