I have the following code:
new Thread(new ThreadStart(delegate()
{
while (true)
{
//something
}
})).Start();
Can garbage collector finalize this instance of Thread
while it is in the Running
state?
I have the following code:
new Thread(new ThreadStart(delegate()
{
while (true)
{
//something
}
})).Start();
Can garbage collector finalize this instance of Thread
while it is in the Running
state?