Dear all,
I have a local object tManager in method foo, I create it there and not use
it in the thread that created it anymore.
Will it be GC if the life time of _tsacThreadManager thread is the same
as main thread? I am not sure because the tsacThreadManager thread is running
the tManager's run method all the time.
void foo()
{
tManager= new SacThreadManager();
tManager.SetupThreadManagement();
ThreadStart _st = new ThreadStart(tManager.run);
_tsacThreadManager = new Thread(_st);
_tsacThreadManager.Name="sacThreadManager";
_tsacThreadManager.Start();
}
Thanks..