Re: threads problem in python

2008-05-13 Thread Gabriel Genellina
En Tue, 13 May 2008 20:46:51 -0300, Astan Chee <[EMAIL PROTECTED]> escribió: Sorry, I mean functions not classes. Well, actually, one is a class and another is a function. So when the script (its a free game btw) runs, it instantiates the first class and somewhere in the middle of processing the

Re: threads problem in python

2008-05-13 Thread Astan Chee
Sorry, I mean functions not classes. Well, actually, one is a class and another is a function. So when the script (its a free game btw) runs, it instantiates the first class and somewhere in the middle of processing the first class, I need to call a function as a separate thread, I also want to

Re: threads problem in python

2008-05-13 Thread castironpi
On May 13, 5:38 am, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Tue, 13 May 2008 06:42:13 -0300, Astan Chee <[EMAIL PROTECTED]> escribió: > > > I have 2 classes in python, the first one runs first and and then the   > > first one calls the second class. I want it to run the second class as

Re: threads problem in python

2008-05-13 Thread Gabriel Genellina
En Tue, 13 May 2008 06:42:13 -0300, Astan Chee <[EMAIL PROTECTED]> escribió: I have 2 classes in python, the first one runs first and and then the first one calls the second class. I want it to run the second class as a separate thread but I want the first one to wait until the second class

threads problem in python

2008-05-13 Thread Astan Chee
Hi, I have 2 classes in python, the first one runs first and and then the first one calls the second class. I want it to run the second class as a separate thread but I want the first one to wait until the second class is dead. Im having problem in both killing the second class when its done an