-
program VirtualMemory {$APPTYPE CONSOLE} uses SysUtils, Windows const PageSize =...
program VirtualMemory {$APPTYPE CONSOLE} uses SysUtils, Windows const PageSize = 4096 //定义页面大小 var VmAddress, CommitAddress: Pointer //存放虚拟内存基址 Text: Pchar begin //保留二页虚拟内存 VmAddress := VirtualAlloc(nil, PageSize * 2, MEM_RESERVE, PAGE_READWRITE) if not Assigned(VmAddress) then begin WriteLn( 保留虚拟内存失败! ) ExitProcess(0) end else WriteLn(Format( 保留虚拟内存成功, 基址为:[%8.8x]! , [Longint(VmAddress)])) //提交第二页虚拟内存 CommitAddress := Pointer(Longint(VmAddress) + PageSize) CommitAddress := VirtualAlloc(CommitAddress, PageSize, MEM_COMMIT, PAGE_READWRITE) if not Assigne-program VirtualMemory ($ APPTYPE CONSOLE) uses SysUtils, Windows const PageSize = 4096// definition pages size var VmAddress, CommitAddress : Pointer// virtual memory-based storage site Text : Pchar begin// reservations two virtual memory VmAddress : = VirtualAlloc (nil. PageSize* 2, MEM_RESERVE, PAGE_READWRITE) if not Assigned (VmAddress) then begin WriteLn (reservations virtual memory failure!) ExitProcess (0) end else WriteLn (Format
- 2022-10-06 15:35:03下载
- 积分:1
-
simulation creation process (to establish a record type data structure PCB) : th...
模拟创建进程(建立一个记录型数据结构PCB):给出进程标识、状态、到达时间、运行时间等用先来先服务调度算法进行模拟实现-simulation creation process (to establish a record type data structure PCB) : the process of identification is given, state, arrival time, the time spent running a first-come first-service scheduling algorithm Simulation
- 2022-07-27 22:06:40下载
- 积分:1
-
操作系统课程实验,模拟操作系统中进程控制与进程调度,有详细的文档和代码...
操作系统课程实验,模拟操作系统中进程控制与进程调度,有详细的文档和代码-operating system, operating system simulation process control and process scheduling, detailed documentation and code
- 2022-01-22 14:59:19下载
- 积分:1
-
A very beautiful battery appearance monitor, it keeps the current battery appear...
一款非常漂亮的电池状态监视器,它以动态图形方式非常直观的显示出当前的电池状态。其中还包含了怎样在VB中显示PNG图片,并实现PNG图片的缩放等,是一款学习的好代码,不要错失机会哟-A very beautiful battery appearance monitor, it keeps the current battery appearance of the display of view very much by dynamic state sketch.Still included among them how show a PNG picture in the VB, and carry out zoom of PNG picture etc., is the good code of a study, don t blunder away an opportunity!!!
- 2022-12-17 13:50:02下载
- 积分:1
-
five Java prepared by the processing threads
5个用Java编写的线程处理程序-five Java prepared by the processing threads
- 2022-08-22 00:29:51下载
- 积分:1
-
进程管理和线程管理 进程管理和线程管理
进程管理和线程管理 进程管理和线程管理-Process management process management and thread management and thread management
- 2022-02-07 20:54:29下载
- 积分:1
-
用sdk写的得到系统所有进程原码
用sdk写的得到系统所有进程原码-sdk used to be written in the original process of all system code
- 2022-05-17 01:46:20下载
- 积分:1
-
操作系统的课程报告,关于内存的分区,分配,回收,以及分页置换功能!...
操作系统的课程报告,关于内存的分区,分配,回收,以及分页置换功能!-The operating system programs report on the memory partition, distribution, recycling, and the replacement paging features!
- 2022-10-02 10:00:03下载
- 积分:1
-
一个通用计时器控件
一个通用计时器控件-a common timer control
- 2022-10-16 04:25:03下载
- 积分:1
-
define the dll exported functions, Inspection System for the state, if memory or...
define the dll exported functions,用于检查系统状态,若有cpu或者memory使用正常,则返回错误-define the dll exported functions, Inspection System for the state, if memory or cpu normal use, the returned error
- 2022-04-24 13:19:38下载
- 积分:1