Re: Multithreading / multiprocess

2009-04-12 Thread TennesseeLeeuwenburg
On Apr 12, 2:59 am, a...@pythoncraft.com (Aahz) wrote: > In article > <57065c62-2024-47b5-a07e-1d60ff85b...@y10g2000prc.googlegroups.com>, > > tleeuwenb...@gmail.com wrote: > > >Is there anyway to begin a thread and execute a finite number of lines > >of code, or a finite amount of time within it

Re: Multithreading / multiprocess

2009-04-12 Thread TennesseeLeeuwenburg
On Apr 11, 10:39 pm, "Diez B. Roggisch" wrote: > tleeuwenb...@gmail.com schrieb: > > > Is there anyway to begin a thread and execute a finite number of lines > > of code, or a finite amount of time within it? > > > For example, say I create three child threads and I want to guarantee > > equal tim

Re: Multithreading / multiprocess

2009-04-11 Thread Aahz
In article <57065c62-2024-47b5-a07e-1d60ff85b...@y10g2000prc.googlegroups.com>, tleeuwenb...@gmail.com wrote: > >Is there anyway to begin a thread and execute a finite number of lines >of code, or a finite amount of time within it? > >For example, say I create three child threads and I want to gua

Re: Multithreading / multiprocess

2009-04-11 Thread Diez B. Roggisch
tleeuwenb...@gmail.com schrieb: Is there anyway to begin a thread and execute a finite number of lines of code, or a finite amount of time within it? For example, say I create three child threads and I want to guarantee equal timeshare between them, can I specify a quanta (say 400 LOC although I

Multithreading / multiprocess

2009-04-11 Thread tleeuwenb...@gmail.com
Is there anyway to begin a thread and execute a finite number of lines of code, or a finite amount of time within it? For example, say I create three child threads and I want to guarantee equal timeshare between them, can I specify a quanta (say 400 LOC although I know that is pretty small) to exe