The CRL ThreadPool HillClimibing algorithm in C#
Based / inspired on Matt Warren's The CLR Thread Pool 'Thread Injection' Algorithm article and code.
Basically, this repository contains the respective CLR (C++) source code ported C#.
To create the graphs that are also shown in Matt's article, do as follows:
- Install Microsoft R Client.
- Run the 'install.packages("ggplot2")' command in "Rgui.exe"
- Run the following command for the files generated by "HillClimbing.exe"
"C:\Program Files\Microsoft\R Client\R_SERVER\bin\x64\rscript.exe" CreateGraphs.R results-random.txt random.png
"C:\Program Files\Microsoft\R Client\R_SERVER\bin\x64\rscript.exe" CreateGraphs.R results-smooth.txt smooth.png