in reply to Re: Re: Re: OO and Threads conflict?
in thread OO and Threads conflict?

About that...

I absolutely, positively and lifethreateningly do NOT want to share a variable between all instances of the class.

I want to share the variable between two threads, both running in the same object.

Sharing between threads, not between objects. Vewy vewy impowtant. =) By default threads will get their own copy of all the data (a la fork) except for those vars that are " : shared". =)
  • Comment on Re: Re: Re: Re: OO and Threads conflict?