> threadFunc contains a reference to MyClass in the form of the > 'this' pointer and so the GC sees this and never deallocates > the MyClass instance to begin with. Yes i am a ware about that fact, but when i set "running" to static, the solution WORKS. That is what the question is.