Description: //
// Program description:
// First, the development of language: C# language
// Second, the program simulates the textbook example of banker s algorithm, written.
// That system has five processes and three resources {0,1,2,3,4} {A, B, C}, each process of the initial distribution of resources and all resources of total volume
// Reference to the examples.
// Third, the program CCP four functions are: show (), apply (), test (), and the main function main ()
// among them:
// 1, show () function is: intuitive system resource allocation lists certain point in time.
// 2, apply () function as follows: After the process to issue a resource request, the system tentatively allocated resources to the process and modify the data structure values.
// 3, test () function as follows: security detection system.
// Four issues that need attention:
// 1, the premise of this program is the assumption that the current process only one request resource.
// 2, once the operation does
To Search:
File list (Check if you may need any files):
ConsoleApplication1
...................\bin
...................\...\Debug
...................\...\.....\ConsoleApplication1.exe
...................\...\.....\ConsoleApplication1.pdb
...................\...\.....\ConsoleApplication1.vshost.exe
...................\...\Release
...................\...\.......\ConsoleApplication1.exe
...................\...\.......\ConsoleApplication1.pdb
...................\ConsoleApplication1.csproj
...................\ConsoleApplication1.csproj.user
...................\obj
...................\...\Debug
...................\...\.....\ConsoleApplication1.csproj.FileListAbsolute.txt
...................\...\.....\ConsoleApplication1.exe
...................\...\.....\ConsoleApplication1.pdb
...................\...\.....\Refactor
...................\...\.....\TempPE
...................\...\Release
...................\...\.......\ConsoleApplication1.csproj.FileListAbsolute.txt
...................\...\.......\ConsoleApplication1.exe
...................\...\.......\ConsoleApplication1.pdb
...................\...\.......\TempPE
...................\Program.cs
...................\Properties
...................\..........\AssemblyInfo.cs
ConsoleApplication1.sln
ConsoleApplication1.suo