Re: Thread help

2006-12-02 Thread Bjoern Schliessmann
John Henry wrote: > Why stop there? Stop where, after one thread? Different question: Why use many threads? It adds complexity and overhead and forces you to think about thread safety and reentrance. Regards, Björn -- BOFH excuse #134: because of network lag due to too many people playing d

Re: Thread help

2006-12-01 Thread Gabriel Genellina
At Friday 1/12/2006 17:26, Bjoern Schliessmann wrote: >> I would make 3 threads for a client application. > You should use 4. I vote for just 1. We all know that the correct answer is, and always has been, 42 -- Gabriel Genellina Softlab SRL _

Re: Thread help

2006-12-01 Thread John Henry
Why stop there? Bjoern Schliessmann wrote: > Grant Edwards wrote: > > On 2006-12-01, Salvatore Di Fazio <[EMAIL PROTECTED]> > > >> I would make 3 threads for a client application. > > > You should use 4. > > I vote for just 1. > > Regards, > > > Björn > > -- > BOFH excuse #236: > > Fanout droppin

Re: Thread help

2006-12-01 Thread Bjoern Schliessmann
Grant Edwards wrote: > On 2006-12-01, Salvatore Di Fazio <[EMAIL PROTECTED]> >> I would make 3 threads for a client application. > You should use 4. I vote for just 1. Regards, Björn -- BOFH excuse #236: Fanout dropping voltage too much, try cutting some of those little traces -- http

Re: Thread help

2006-12-01 Thread Salvatore Di Fazio
Grant Edwards ha scritto: > http://docs.python.org/lib/module-threading.html > http://linuxgazette.net/107/pai.html > http://www.wellho.net/solutions/python-python-threads-a-first-example.html > http://heather.cs.ucdavis.edu/~matloff/Python/PyThreads.pdf Thank Edward, I didn't find the linuxgazet

Re: Thread help

2006-12-01 Thread Salvatore Di Fazio
Grant Edwards ha scritto: > http://docs.python.org/lib/module-threading.html > http://linuxgazette.net/107/pai.html > http://www.wellho.net/solutions/python-python-threads-a-first-example.html > http://heather.cs.ucdavis.edu/~matloff/Python/PyThreads.pdf Thank Edward, I didn't find the linuxgazet

Re: Thread help

2006-12-01 Thread Grant Edwards
On 2006-12-01, Salvatore Di Fazio <[EMAIL PROTECTED]> wrote: > Grant Edwards ha scritto: > >> You should use 4. > > Yes, but I don't know how can I make a thread :) Perhaps you should have said that earlier? Googling for "pythong threads" finds some useful info: http://docs.python.org/lib/module

Re: Thread help

2006-12-01 Thread Salvatore Di Fazio
Grant Edwards ha scritto: > You should use 4. Yes, but I don't know how can I make a thread :) -- http://mail.python.org/mailman/listinfo/python-list

Re: Thread help

2006-12-01 Thread Grant Edwards
On 2006-12-01, Salvatore Di Fazio <[EMAIL PROTECTED]> wrote: > I would make 3 threads for a client application. You should use 4. -- Grant Edwards grante Yow! My TOYOTA is built at like a... BAGEL with CREAM