Re: threads working with references and creating constructors
Friday, March 17, 2006 02:45 PM
Try to use static keyword.
But I would say that it's not a good design that you are doing.I don't know your exact requirement. But try to think in this way, probably it would achieve the same thing that you want.
Make a common class C and instanitate it .
then create both threads using C'object.