Introduction - If you have any usage issues, please Google them yourself
Write a program that consists of two threads, one thread is used to simulate the memory allocation activities, one for tracking the memory behavior of the first thread, requiring between two threads synchronize through semaphores to simulate the activities of the thread of memory from a read the file memory operations to be carried out. FlAllocationType the VirtualAlloc function parameters were set to MEM_RESET, MEM_TOP_DOWN, will flProtect parameters are set to PAGE_GUARD, PAGE_NOACCESS, PAGE_NOCACHE, execute and view the results of memory allocation.