Threading horror
-
Found in my own code:
while (t.IsAlive)
{
//wait for thread to exit
}I laughed inside, that was quite a while back. t.Join() looks prettier.
-
Found in my own code:
while (t.IsAlive)
{
//wait for thread to exit
}I laughed inside, that was quite a while back. t.Join() looks prettier.
Right, no one pointed Join out to me either until earlier this year.
-
Found in my own code:
while (t.IsAlive)
{
//wait for thread to exit
}I laughed inside, that was quite a while back. t.Join() looks prettier.
Look at bright side: if you have two processors (or dual-core processor), the second one will be busy with something. :)
-
Look at bright side: if you have two processors (or dual-core processor), the second one will be busy with something. :)
...and you will not lie if you say to a client: see that 100%? Our software fully utilizes CPU power.
Greetings - Gajatko Portable.NET is part of DotGNU, a project to build a complete Free Software replacement for .NET - a system that truly belongs to the developers.
-
Look at bright side: if you have two processors (or dual-core processor), the second one will be busy with something. :)