W
want 2 Learn
Guest
I am trying to get the CPU or the vCore that my tread was created on, but when I first try to get the Process by name
I don't get anything back from : Process.GetProcessesByName
Thread t = new Thread(new ThreadStart(Calculation))
{
Name = "thread_test_" + i
};
t.Start();
Process[] p=Process.GetProcessesByName("thread_test_" + i);
on the last line I don't get anything, why?
Continue reading...
I don't get anything back from : Process.GetProcessesByName
Thread t = new Thread(new ThreadStart(Calculation))
{
Name = "thread_test_" + i
};
t.Start();
Process[] p=Process.GetProcessesByName("thread_test_" + i);
on the last line I don't get anything, why?
Continue reading...