.NET MultiThreading at Its Best

For my senior project still in progress, "The Puzzler - 3D Style," .NET multi-threading has played a CRITICAL role in shaving off additional mintues that the Solution Algorithm is taking to come up with finished final results for a three dimentional puzzle of variable size. On the average, up to four mintues is being saved for a 25x25x25 randomly generated puzzle.

The power of .NET muti-threading support for algorithm enhancement, pass it it on!

foreach( Thread trailingThread in solutionThreads )
{
     trailingThread.IsBackgroundThread = true;
     trailingThread.Priority = ThreadPriority.AboveNormal;
     trailingThread.Start();
}

foreach( Thread trailingThread in solutionThreads )
     while( trailingThread.IsAlive );


Comment Section

Comments are closed.


Disclaimer
The opinions expressed in this public online diary are my own personal opinions, thoughts, and feelings and do not represent anyone else's view including family members, my employer, and friends in anyway, unless of course you believe in GOD and constantly need JESUS through Mother Mary with His power to save, heal, and instill forever peace like I constantly need him.

Matthew James k:

Matthew James k

Template theme by Medialoot