In <[EMAIL PROTECTED]>, Seun Osewa
wrote:
> I've tried to run several threading examples in Python 2.5.1 (with
> Stackless) For example:
>
> import threading
>
> theVar = 1
>
> class MyThread ( threading.Thread ):
>
>def run ( self ):
>
> global theVar
>
Hello,
I've tried to run several threading examples in Python 2.5.1 (with
Stackless) For example:
import threading
theVar = 1
class MyThread ( threading.Thread ):
def run ( self ):
global theVar
print 'This is thread ' + str ( theVar ) + ' speaking.'