-
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
-
通过vc++实现管道通信,解决多进程之间通信的问题。
通过vc++实现管道通信,解决多进程之间通信的问题。 -Through vc++ Realize pipeline communications, multi-process solution to the problem of communication between.
- 2022-12-13 03:20:03下载
- 积分:1
-
操作系统课程实验,模拟操作系统中进程控制与进程调度,有详细的文档和代码...
操作系统课程实验,模拟操作系统中进程控制与进程调度,有详细的文档和代码-operating system, operating system simulation process control and process scheduling, detailed documentation and code
- 2022-01-22 14:59:19下载
- 积分:1
-
进程的3中调度算法,时间片、段进程优先、优先权这3种
进程的3中调度算法,时间片、段进程优先、优先权这3种-process scheduling algorithm, time films, the process of priority, the three priority
- 2022-03-23 16:28:36下载
- 积分:1
-
"C Primer" complementary code, "C Primer" complementary code
《C++ Primer》配套代码,《C++ Primer》配套代码-"C Primer" complementary code, "C Primer" complementary code
- 2022-03-12 14:57:36下载
- 积分:1
-
对文件读写进行共享加锁的一个学习例子
对文件读写进行共享加锁的一个学习例子- Read-write carries on a study example to the document which
sharing locks
- 2022-01-22 16:16:22下载
- 积分:1
-
发送消息给某个只知道进程句柄的程序的主窗口的程序
发送消息给某个只知道进程句柄的程序的主窗口的程序- The transmission news only knows the advancement sentence
handle for some the procedure main window procedure
- 2022-06-26 16:40:37下载
- 积分:1
-
利用命名管道技术,在进程间进行通信的例程。希望和大家交流。...
利用命名管道技术,在进程间进行通信的例程。希望和大家交流。-use named pipes, in the process of communication between the routines. And we hope that the exchanges.
- 2022-03-01 22:05:08下载
- 积分:1
-
编译原理
编译原理-内存管理-compiler theory-Memory Management
- 2022-03-06 21:56:27下载
- 积分:1
-
Terminator是一个小程序,使用它你可以说明一个你想要结束的模块的列表(通过路径名或名称)。
Terminator是一个小程序,使用它你可以说明一个你想要结束的模块的列表(通过路径名或名称)。-Terminator is a small program you can use it to illustrate one you want to end the module list (by name or path).
- 2023-05-20 17:15:03下载
- 积分:1