-
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
-
进程查杀:对设定的一个系统进程进行查杀,界面简洁。
进程查杀:对设定的一个系统进程进行查杀,界面简洁。-killing process : the creation of a systematic process for killing, simple interface.
- 2022-06-14 21:44:25下载
- 积分:1
-
用高级语言编写和调试一个进程调度程序,以加深对进程的概念及进程调度算法的理解。...
用高级语言编写和调试一个进程调度程序,以加深对进程的概念及进程调度算法的理解。-High-level language by writing and debugging a process scheduler in order to deepen their understanding of the concept of the process and understanding the process of scheduling algorithm.
- 2022-02-21 12:04:42下载
- 积分:1
-
该程序的作用是通过未公开函数在RING3下获得指定线程的入口地址,根据此地址可知道这个线程是由哪个模块创建的。...
该程序的作用是通过未公开函数在RING3下获得指定线程的入口地址,根据此地址可知道这个线程是由哪个模块创建的。-The role of the program is not open function in RING3 thread under the entrance of the designated address, in accordance with this address may be aware of this thread which module created.
- 2023-01-30 20:15:03下载
- 积分:1
-
使用CriticalSection(临界区)和Mutex(互斥对象)实现的线程同步类。...
使用CriticalSection(临界区)和Mutex(互斥对象)实现的线程同步类。- Uses line regulation synchronization class which
CriticalSection (critical zone) and Mutex (incompatible object)
realizes.
- 2022-02-28 22:06:58下载
- 积分:1
-
A multi
一个多线程扫描器。速度很慢,实用性不强,但对于SOCKET初学者来说,有一定的参考价值。-A multi-threaded scanner. Very slow, practicality is not strong, but for beginners SOCKET example, has a certain reference value.
- 2022-06-15 05:14:49下载
- 积分:1
-
windows平台的串口接收程序,接收声音采集数据,采用多线程编程...
windows平台的串口接收程序,接收声音采集数据,采用多线程编程-serial windows platform to receive the procedure, receiving the voice data collection, using multi-threaded programming
- 2022-11-23 05:50:04下载
- 积分:1
-
使用 STL 做的windows 下的线程池,半同步/半异步模型,当线程没有使用时被suspend。...
使用 STL 做的windows 下的线程池,半同步/半异步模型,当线程没有使用时被suspend。-STL use under windows to do the thread pool, semi-synchronous/semi-asynchronous model, when the thread was not using suspend.
- 2022-02-02 01:37:18下载
- 积分:1
-
一个用多线程拷贝文件的小例子
一个用多线程拷贝文件的小例子-use a multithreaded copy files small examples
- 2022-06-12 14:47:02下载
- 积分:1
-
操作系统实验的进程调度算法实现:提供了四种重要的算法(FIFS、SFJ、HRN)...
操作系统实验的进程调度算法实现:提供了四种重要的算法(FIFS、SFJ、HRN)-operating systems experimental process scheduling algorithm : to provide four important algorithm (FIFS, SFJ, 010-001)
- 2022-05-17 18:21:00下载
- 积分:1