hey, here's a threading example from some python I have been playing with:
--------------------------


#start of python code...

import threading

class nicethread ( threading.Thread ):
    def __init__ ( self,remoteip ):
        self.remoteip = remoteip
        threading.Thread.__init__ ( self )
   
    def run (self):
        #tcp socket ok server code
        #run your code here...
        print self.remoteip



#start the thread with this...

nicethread().start()


hope this makes sense to you.

Mike



On 6/14/06, Vincenzo Pellegrini <[EMAIL PROTECTED]> wrote:
thank you very much for the suggestion.

I'll try, even if I'm not yet able to start and manage a thread as I'm a
beginner.
I'm gonna learn about it and let you know how it goes.

have you got any useful examples/links that can set me on the right way?

thanks

vincenzo


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to